Page MenuHomeDevCentral

Declare missing shellserver role units to top state
ClosedPublic

Authored by dereckson on Oct 29 2017, 16:22.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 06:46
Unknown Object (File)
Thu, Nov 7, 22:25
Unknown Object (File)
Thu, Nov 7, 21:57
Unknown Object (File)
Thu, Nov 7, 20:46
Unknown Object (File)
Thu, Nov 7, 19:52
Unknown Object (File)
Thu, Nov 7, 19:14
Unknown Object (File)
Thu, Nov 7, 17:50
Unknown Object (File)
Thu, Nov 7, 17:50
Subscribers

Details

Summary

Database and Bonjour chaton units were missing
and ignored by high state.

Test Plan

Check the two states are currently fine:
salt eglide state.apply roles/shellserver/database test=True
salt eglide state.apply roles/shellserver/bonjour-chaton test=True

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

When highstate runs, it propagates the new SSL certificate for Bonjour chaton:

     ID: bonjour_chaton_certificates_public                               
Function: cmd.run                  
    Name: cp /etc/letsencrypt/live/robot.paysannerebelle.com/fullchain.pem /opt/bonjour-chaton/certs/cert.pem                                              
  Result: True                     
 Comment: Command "cp /etc/letsencrypt/live/robot.paysannerebelle.com/fullchain.pem /opt/bonjour-chaton/certs/cert.pem" run                                     Started: 16:23:09.349093          
Duration: 58.266 ms                
 Changes:                          
          ----------               
          pid:                     
              1333                 
          retcode:                 
              0                    
          stderr:                  
          stdout:

This is a desirable behavior to ensure the certificate is always accurate (if not, the bot would use expired one).

The remaining states are up to date.

This revision is now accepted and ready to land.Oct 29 2017, 16:24
This revision was automatically updated to reflect the committed changes.