Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28987315
homefiles.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
811 B
Referenced Files
None
Subscribers
None
homefiles.sls
View Options
# -------------------------------------------------------------
# Salt — Provision dotfiles and other personal content
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-03-08
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
for
username
,
user
in
salt
[
'forest.get_users'
]()
.items
()
%}
{%
set
tasks
=
user.get
(
'devserver_tasks'
,
[])
}
{%
if
'deploy_dotfiles'
in
tasks
%}
dotfiles_to_devserver_
{{
username
}}
:
file.recurse
:
-
name
:
/home/
{{
username
}}
-
source
:
salt://roles/devserver/userland-home/files/
{{
username
}}
-
include_empty
:
True
-
clean
:
False
-
user
:
{{
username
}}
-
group
:
{{
username
}}
{%
endif
%}
{%
endfor
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 17, 19:22 (20 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3699667
Default Alt Text
homefiles.sls (811 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment