add more exapmles to cdist-manifest

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-10-10 09:51:26 +09:00
commit 49c686319e
3 changed files with 13 additions and 1 deletions

View file

@ -151,6 +151,17 @@ The manifest of the type "nologin" may look like this:
__file /etc/nologin --source "$__type/files/default.nologin"
--------------------------------------------------------------------------------
This example makes use of dependencies:
--------------------------------------------------------------------------------
# Ensure that lighttpd is installed
__package lighttpd --state present
# Ensure that munin makes use of lighttpd instead of the default webserver
# package as decided by the package manager
require="__package/lighttpd" __package munin --state present
--------------------------------------------------------------------------------
SEE ALSO
--------