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 +# ------------------------------------------------------------- +# +# +# 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. +# + +[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 %} # -------------------------------------------------------------