update conf/manifest/init example

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-16 08:39:51 +01:00
parent 0847b5b364
commit e7f64758ce
2 changed files with 5 additions and 4 deletions

View file

@ -7,13 +7,14 @@
# Every machine becomes a marker, so sysadmins know that automatic
# configurations are happening
__file /etc/cdist-configured --type file
__file /etc/cdist-configured
case "$__target_host" in
# Everybody has this
localhost)
# Usual example
__file test --type symlink --source /etc/cdist-configured --destination /tmp/cdist-testfile
__link /tmp/cdist-testfile --source /etc/cdist-configured --type symbolic
__directory /tmp/cdist-test-dir --mode 4777
__file /tmp/cdist-test-file --mode 0750 --owner nobody --group root
;;
#

View file

@ -4,4 +4,4 @@ x __directory /etc [--mode --owner --group --parents [yes|no] ]
x __link /destination --source abc --type [symbolic|hard]
__file /etc/passwd [--source] --mode --owner --group
x __file /etc/passwd [--source] --mode --owner --group