forked from ungleich-public/cdist
add more exapmles to cdist-manifest
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
9b2d630807
commit
49c686319e
3 changed files with 13 additions and 1 deletions
|
@ -42,7 +42,7 @@ case "$state_is" in
|
|||
;;
|
||||
esac
|
||||
|
||||
aptget="DEBIAN_FRONTEND=noninteractive apt-get --quiet --yes --no-install-recommends"
|
||||
aptget="DEBIAN_FRONTEND=noninteractive apt-get --quiet --yes --no-install-recommends -o DPkg::Options::=\"--force-confold\""
|
||||
|
||||
[ "$state_is" = "$state_should" ] && exit 0
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ Changelog
|
|||
|
||||
2.3.5:
|
||||
* Documentation: Updated manpages of __package and __file (Alex Greif)
|
||||
* Type __package_apt: Do not install recommends by default
|
||||
|
||||
2.3.4: 2013-10-03
|
||||
* Core: Add missing bits to support dry run (Steven Armstrong)
|
||||
|
|
|
@ -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
|
||||
--------
|
||||
|
|
Loading…
Reference in a new issue