update conf/manifest/init example

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.1
Nico Schottelius 14 years ago
parent 0847b5b364
commit e7f64758ce
  1. 7
      conf/manifest/init
  2. 2
      doc/dev/logs/2011-03-15.file_directory_link

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

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

Loading…
Cancel
Save