Page MenuHomeDevCentral

Migrate directories unit to webserver-alkane role
ClosedPublic

Authored by dereckson on Apr 17 2023, 01:04.
Tags
None
Referenced Files
F3163185: D3041.diff
Wed, Jun 26, 11:06
Unknown Object (File)
Mon, Jun 24, 03:04
Unknown Object (File)
Sat, Jun 22, 14:25
Unknown Object (File)
Thu, Jun 20, 20:37
Unknown Object (File)
Thu, Jun 20, 18:21
Unknown Object (File)
Wed, Jun 19, 08:19
Unknown Object (File)
Mon, Jun 17, 16:01
Unknown Object (File)
Sun, Jun 16, 04:54
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
----------
[…]