Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10310342
D2152.id5429.diff
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
D2152.id5429.diff
View Options
diff --git a/roles/saltmaster/account/init.sls b/roles/saltmaster/account/init.sls
--- a/roles/saltmaster/account/init.sls
+++ b/roles/saltmaster/account/init.sls
@@ -40,6 +40,13 @@
- home: /var/run/deploy
# -------------------------------------------------------------
+# Directories
+# -------------------------------------------------------------
+
+/opt/salt:
+ file.directory
+
+# -------------------------------------------------------------
# SSH key for deployment account
#
# This key should be added to:
diff --git a/roles/saltmaster/staging/init.sls b/roles/saltmaster/staging/init.sls
--- a/roles/saltmaster/staging/init.sls
+++ b/roles/saltmaster/staging/init.sls
@@ -16,6 +16,7 @@
- user: deploy
- group: deployment
- dir_mode: 775
+ - makedirs: True
git.latest:
- name: https://devcentral.nasqueron.org/source/staging.git
- target: /opt/salt/staging
@@ -29,6 +30,7 @@
- user: deploy
- group: deployment
- dir_mode: 770
+ - makedirs: True
git.latest:
- name: ssh://vcs@devcentral.nasqueron.org:5022/source/private-staging.git
- target: /opt/salt/private/staging
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 29, 06:48 (14 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2771882
Default Alt Text
D2152.id5429.diff (1 KB)
Attached To
Mode
D2152: Create required Salt directories
Attached
Detach File
Event Timeline
Log In to Comment