Page MenuHomeDevCentral

D2152.diff
No OneTemporary

D2152.diff

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

Mime Type
text/plain
Expires
Thu, Dec 19, 22:26 (18 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306937
Default Alt Text
D2152.diff (1 KB)

Event Timeline