From 1878c35ac4f30822e68f55e0573f8c1c8a00977b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bondis?= Date: Mon, 12 Mar 2012 14:16:37 -0400 Subject: [PATCH] modify template name in example --- doc/man/man7/cdist-best-practice.text | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man/man7/cdist-best-practice.text b/doc/man/man7/cdist-best-practice.text index 2674bc06..9e18bd2f 100644 --- a/doc/man/man7/cdist-best-practice.text +++ b/doc/man/man7/cdist-best-practice.text @@ -182,9 +182,9 @@ EOF export ROOT='/var/www/test' # render the template mkdir -p "$__object/files" - "$__type/templates/collectd.conf" > "$__object/files/collectd.conf" + "$__type/templates/basic.conf.sh" > "$__object/files/basic.conf" # send the rendered template - __file /etc/collectd.conf --state present --source "$__object/files/collectd.conf" + __file /etc/nginx/sites-available/test.conf --state present --source "$__object/files/basic.conf" -------------------------------------------------------------------------------------- SEE ALSO