Page MenuHomeDevCentral

Install PHP dependencies for ViMbAdmin
ClosedPublic

Authored by DorianWinty on Jul 3 2024, 16:35.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 16:37
Unknown Object (File)
Fri, Nov 8, 16:37
Unknown Object (File)
Fri, Nov 8, 16:37
Unknown Object (File)
Fri, Nov 8, 16:36
Unknown Object (File)
Fri, Nov 8, 16:36
Unknown Object (File)
Fri, Nov 8, 16:36
Unknown Object (File)
Fri, Nov 8, 16:35
Unknown Object (File)
Fri, Nov 8, 16:35
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 5316
Build 5597: 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
26

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.