Page MenuHomeDevCentral

Migrate directories unit to webserver-alkane role
ClosedPublic

Authored by dereckson on Apr 17 2023, 01:04.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 3, 05:34
Unknown Object (File)
Thu, Jan 2, 16:51
Unknown Object (File)
Thu, Jan 2, 09:12
Unknown Object (File)
Sun, Dec 22, 10:14
Unknown Object (File)
Sat, Dec 14, 03:34
Unknown Object (File)
Thu, Dec 12, 01:28
Unknown Object (File)
Dec 10 2024, 17:26
Unknown Object (File)
Dec 9 2024, 20:02
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 Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4805
Build 5086: arc lint + arc unit

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
----------
[…]