Page MenuHomeDevCentral

Install PHP dependencies for ViMbAdmin
ClosedPublic

Authored by DorianWinty on Jul 3 2024, 16:35.
Tags
None
Referenced Files
F3950531: D3352.id8634.diff
Sat, Dec 28, 01:23
F3950362: D3352.id8635.diff
Fri, Dec 27, 23:58
F3950028: D3352.id8649.diff
Fri, Dec 27, 21:55
F3949851: D3352.diff
Fri, Dec 27, 20:48
F3949580: D3352.id8650.diff
Fri, Dec 27, 18:20
F3949325: D3352.id8632.diff
Fri, Dec 27, 16:54
F3948748: D3352.id8633.diff
Fri, Dec 27, 13:33
F3948158: D3352.id8635.diff
Fri, Dec 27, 09:41
Subscribers
None

Details

Summary

Ref T1932

Test Plan

Run the role with Salt on Hervil to check the already installed packages

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
packages
Build Status
Buildable 5315
Build 5596: arc lint + arc unit

Event Timeline

DorianWinty created this revision.
DorianWinty retitled this revision from Installation package for ViMbAdmin to Install package for ViMbAdmin.Jul 3 2024, 17:10
roles/mailserver/vimbadmin/init.sls
16

I'd put them directly here instead of the pillar, it's not something we need to configure per machine, that will always be the same set of extensions.

Also php83- can be found in /map.jinja

dereckson requested changes to this revision.Jul 3 2024, 21:08
This revision now requires changes to proceed.Jul 3 2024, 21:08

Install package for ViMbAdmin

roles/mailserver/vimbadmin/init.sls
13

Comments can also be in the state title, for example, if the state title is vimbadmin_install_packages, that makes that title its own comment.

DorianWinty marked an inline comment as done.

update according comment

Test result of :
salt hervil state.sls roles/mailserver/vimbadmin/init

      ID: vimbadmin_install_packages                                                                                                                                                                
Function: pkg.installed                                                                         
  Result: True                                                                                  
 Comment: 2 targeted packages were installed/updated.                                           
          The following packages were already installed: php83-pdo_pgsql, php83-gettext, php83-xml
 Started: 17:13:04.125793                                                                       
Duration: 9672.066 ms   
 Changes:                                                                                       
          ----------                                                                            
          php83-pear:                                                                           
              ----------                                                                        
              new:                                                                              
                  1.10.13                                                                       
              old:                                                                              
          php83-pear-Services_JSON:
              ----------                                                                        
              new:                                                                              
                  1.0.3                                                                         
              old:                                                                              
          php83-pecl-memcache:                                                                  
              ----------                                                                        
              new:                                                                              
                  8.2                                                                           
              old:
dereckson retitled this revision from Install package for ViMbAdmin to Install PHP dependencies for ViMbAdmin.
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jul 4 2024, 17:38
This revision was automatically updated to reflect the committed changes.