Merge branch '__file_exists' of https://github.com/asteven/cdist

This commit is contained in:
Nico Schottelius 2012-04-04 09:44:14 +02:00
commit a586d6b54b

View file

@ -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
--------------------------------------------------------------------------------