Page MenuHomeDevCentral

D2899.id7391.diff
No OneTemporary

D2899.id7391.diff

diff --git a/roles/viperserv/account/files/dot.gitconfig b/roles/viperserv/account/files/dot.gitconfig
new file mode 100644
--- /dev/null
+++ b/roles/viperserv/account/files/dot.gitconfig
@@ -0,0 +1,19 @@
+# -------------------------------------------------------------
+# Git configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/viperserv/account/files/dot.gitconfig
+# -------------------------------------------------------------
+#
+# <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 = /srv/viperserv/scripts
+ directory = /opt/fbsql
+ directory = /opt/rabbitmq-tcl
diff --git a/roles/viperserv/account/init.sls b/roles/viperserv/account/init.sls
--- a/roles/viperserv/account/init.sls
+++ b/roles/viperserv/account/init.sls
@@ -29,6 +29,11 @@
- group: nasqueron-irc
- dir_mode: 711
+{{ dirs.share }}/{{ username }}/.gitconfig:
+ file.managed:
+ - source: salt://roles/viperserv/account/files/dot.gitconfig
+ - mode: 444
+
{% endfor %}
# -------------------------------------------------------------

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 16:57 (18 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257875
Default Alt Text
D2899.id7391.diff (1 KB)

Event Timeline