forked from ungleich-public/cdist
Merge branch '__file_exists' of https://github.com/asteven/cdist
This commit is contained in:
commit
a586d6b54b
1 changed files with 5 additions and 0 deletions
|
@ -59,6 +59,11 @@ __file /etc/issue --source "$__type/files/archlinux" --state present
|
|||
__file /etc/shadow --source "$__type/files/shadow" \
|
||||
--owner root --group shadow --mode 0640 \
|
||||
--state present
|
||||
|
||||
# Provide a default file, but let the user change it
|
||||
__file /home/frodo/.bashrc --source "/etc/skel/.bashrc" \
|
||||
--state exists \
|
||||
--owner frodo --mode 0600
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue