forked from ungleich-public/cdist
modify template name in example
This commit is contained in:
parent
2b22e5de24
commit
1878c35ac4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue