modify template name in example

This commit is contained in:
Aurélien Bondis 2012-03-12 14:16:37 -04:00
parent 2b22e5de24
commit 1878c35ac4

View file

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