Page MenuHomeDevCentral

D1403.diff
No OneTemporary

D1403.diff

diff --git a/roles/devserver/userland-home/init.sls b/roles/devserver/userland-home/homefiles.sls
copy from roles/devserver/userland-home/init.sls
copy to roles/devserver/userland-home/homefiles.sls
diff --git a/roles/devserver/userland-home/init.sls b/roles/devserver/userland-home/init.sls
--- a/roles/devserver/userland-home/init.sls
+++ b/roles/devserver/userland-home/init.sls
@@ -1,20 +1,10 @@
# -------------------------------------------------------------
-# Salt — Provision dotfiles and other personal content
+# Salt — Provision user content
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-03-08
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-{% for username, user in salt['forest.get_users']().items() %}
-{% if 'deploy_dotfiles_to_devserver' in user %}
-dotfiles_to_devserver_{{username}}:
- file.recurse:
- - name: /home/{{ username }}
- - source: salt://roles/devserver/userland-home/files/dereckson
- - include_empty: True
- - clean: False
- - user: {{ username }}
- - group: {{ username }}
-{% endif %}
-{% endfor %}
+include:
+ - .homefiles

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 07:32 (17 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258954
Default Alt Text
D1403.diff (1 KB)

Event Timeline