Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793944
www.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
www.sls
View Options
# -------------------------------------------------------------
# Salt — Provision www.eglide.org website
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2016-09-12
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
# Deploy /opt/staging/wwwroot/eglide.org/www to www.eglide.org
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{%
set
wwwroot
=
salt
[
'node.get_wwwroot'
]()
%}
{%
set
wwwuser
=
"www-data"
%}
{%
set
wwwgroup
=
"www-data"
%}
/var/
{{
wwwroot
}}
:
file.directory
:
-
user
:
{{
wwwuser
}}
-
group
:
{{
wwwgroup
}}
-
dir_mode
:
711
-
makedirs
:
True
wwwroot_server
:
file.recurse
:
-
name
:
/var/
{{
wwwroot
}}
-
source
:
salt://
{{
wwwroot
}}
-
exclude_pat
:
E@.git
-
include_empty
:
True
-
clean
:
True
-
user
:
{{
wwwuser
}}
-
group
:
{{
wwwgroup
}}
-
dir_mode
:
711
-
file_mode
:
644
{%
endif
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 22:47 (23 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2438087
Default Alt Text
www.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment