Page MenuHomeDevCentral

Deploy Eglide site to canonical /var/wwwwroot location
ClosedPublic

Authored by dereckson on Nov 23 2017, 00:59.

Details

Summary

Every server site should be in /var/wwwroot.

Follow-up for edff5dd956c5.

Test Plan

Deploy on Eglide, check /var/wwwroot/eglide.org/www is created.

Currently no-op, as nginx still points to the former location.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson created this revision.Nov 23 2017, 00:59
dereckson accepted this revision.Nov 23 2017, 01:01
Salt master
$ salt eglide state.apply roles/shellserver/eglide-website
eglide:                                                                    
----------                             
          ID: /var/wwwroot/eglide.org/www                                    
    Function: file.directory           
      Result: True                                             
     Comment: Directory /var/wwwroot/eglide.org/www updated
     Started: 00:57:25.743009                                                  
    Duration: 77.0 ms                    
     Changes:                          
              ----------                                     
              /var/wwwroot/eglide.org/www:
                  New Dir
----------                                                     
          ID: wwwroot_server                               
    Function: file.recurse                                                     
        Name: /var/wwwroot/eglide.org/www
      Result: True                     
     Comment: Recursively updated /var/wwwroot/eglide.org/www
     Started: 00:57:59.332573             
    Duration: 2938.456 ms              
     Changes:                                        
              ----------               
This revision is now accepted and ready to land.Nov 23 2017, 01:01
This revision was automatically updated to reflect the committed changes.