Page MenuHomeDevCentral

Migrate directories unit to webserver-alkane role
ClosedPublic

Authored by dereckson on Apr 17 2023, 01:04.
Tags
None
Referenced Files
F3788764: D3041.diff
Tue, Nov 26, 23:59
Unknown Object (File)
Sat, Nov 23, 14:38
Unknown Object (File)
Sun, Nov 17, 01:27
Unknown Object (File)
Sun, Nov 17, 00:53
Unknown Object (File)
Sun, Nov 17, 00:29
Unknown Object (File)
Fri, Nov 1, 07:08
Unknown Object (File)
Oct 27 2024, 11:32
Unknown Object (File)
Oct 22 2024, 16:25
Subscribers
None

Details

Summary

This pattern works well: with the concept of one domain = one user
for static sites, it creates /var/wwwroot/<domain.tlD>.

This change is so adopted for Alkane.

Ref T1828

Test Plan

Deploy on web-001

Diff Detail

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

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Apr 17 2023, 01:04
Complector
$ salt web-001 state.apply roles/webserver-alkane/directories
web-001:
----------
          ID: /var/wwwroot
    Function: file.directory
      Result: True
     Comment:
     Started: 01:06:30.161257
    Duration: 10.105 ms
     Changes:
              ----------
              /var/wwwroot:
                  ----------
                  directory:
                      new
----------
          ID: webserver_directory_nasqueron.org
    Function: file.directory
        Name: /var/wwwroot/nasqueron.org
      Result: True
     Comment:
     Started: 01:06:30.171554
    Duration: 2.964 ms
     Changes:
              ----------
              /var/wwwroot/nasqueron.org:
                  ----------
                  directory:
                      new
----------
          ID: /var/log/www/nasqueron.org
    Function: file.directory
      Result: True
     Comment:
     Started: 01:06:30.174854
    Duration: 3.351 ms
     Changes:
              ----------
              /var/log/www/nasqueron.org:
                  ----------
                  directory:
                      new
----------
[…]