Page MenuHomeDevCentral

D3557.id9135.diff
No OneTemporary

D3557.id9135.diff

diff --git a/pillar/webserver/windriver/content.sls b/pillar/webserver/windriver/content.sls
--- a/pillar/webserver/windriver/content.sls
+++ b/pillar/webserver/windriver/content.sls
@@ -11,4 +11,5 @@
# Sites with states documenting how to build them
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-web_content_sls: []
+web_content_sls:
+ - .org/nasqueron/tools51
diff --git a/roles/webserver-content/org/nasqueron/files/git-safe.conf b/roles/webserver-content/org/nasqueron/files/git-safe.conf
new file mode 100644
--- /dev/null
+++ b/roles/webserver-content/org/nasqueron/files/git-safe.conf
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------
+# Git configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/webserver-content/org/nasqueron/files/git-safe.conf
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+[safe]
+ directory = {{ path }}
diff --git a/pillar/webserver/windriver/content.sls b/roles/webserver-content/org/nasqueron/tools51.sls
copy from pillar/webserver/windriver/content.sls
copy to roles/webserver-content/org/nasqueron/tools51.sls
--- a/pillar/webserver/windriver/content.sls
+++ b/roles/webserver-content/org/nasqueron/tools51.sls
@@ -1,14 +1,18 @@
# -------------------------------------------------------------
-# Salt — Sites to provision
+# Salt — Provision tools51.nasqueron.org website
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
-# States
-#
-# Sites with states documenting how to build them
+# Read Git revision
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-web_content_sls: []
+/var/run/web/tools51.nasqueron.org/.gitconfig:
+ file.managed:
+ - source: salt://roles/webserver-content/org/nasqueron/files/git-safe.conf
+ - user: web-org-nasqueron-tools51
+ - template: jinja
+ - context:
+ path: /var/51-wwwroot/tools

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 24, 06:20 (21 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2213147
Default Alt Text
D3557.id9135.diff (2 KB)

Event Timeline