Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3773044
D3557.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D3557.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 05:44 (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2261967
Default Alt Text
D3557.diff (2 KB)
Attached To
Mode
D3557: Allow tools51.n.o php-fpm to read Git repository
Attached
Detach File
Event Timeline
Log In to Comment