cdist-type__consul_template_template
Manage consul-template templates
- Provided by: cdist (Version: 6.0.2-1)
- Report a bug
Manage consul-template templates
Generate and deploy template definitions for a consul-template. See https://github.com/hashicorp/consul-template#examples for documentation. Templates are written in the Go template format. Either the --source or the --source-file parameter must be given.
# configure template on the target __consul_template_template nginx \ --source /etc/my-consul-templates/nginx.ctmpl \ --destination /etc/nginx/nginx.conf \ --command 'service nginx restart' # upload a local file to the target and configure it __consul_template_template nginx \ --wait '2s:6s' \ --source-file "$__manifest/files/nginx.ctmpl" \ --destination /etc/nginx/nginx.conf \ --command 'service nginx restart'
cdist-type__consul_template(7), cdist-type__consul_template_config(7)
Steven Armstrong <steven-cdist--@--armstrong.cc>
Copyright (C) 2015-2016 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ungleich GmbH 2019