6051006e21
Default policy is 'ignore' and it does nothing in order to recover from partitioning allowing many partitioned rabbit clusters to operate as is. Auto-heal policy will merge all partitions into the winner one once exited from partitioned state (e.g. connectivity restored). Closes-bug: #1354319 Change-Id: I33823a3abfd42b75fa6bc73d6f3cd038a2163fd6 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com> |
||
---|---|---|
.. | ||
rabbit.pub.key | ||
rabbitmq-env.conf.erb | ||
rabbitmq-server_redhat.erb | ||
rabbitmq-server_ubuntu.erb | ||
rabbitmq.config | ||
README.markdown |
Templates
Puppet supports templates and templating via ERB, which is part of the Ruby standard library and is used for many other projects including Ruby on Rails. Templates allow you to manage the content of template files, for example configuration files that cannot yet be managed as a Puppet type. Learn more at http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Templating
You can use templates like this:
class myclass {
package { mypackage: ensure => latest }
service { myservice: ensure => running }
file { "/etc/myfile":
content => template("mymodule/myfile.erb")
}
}
The templates are searched for in:
$templatedir/mymodule/myfile.erb
$modulepath/mymodule/templates/myfile.erb