fuel-library/deployment/puppet/rabbitmq/templates
Bogdan Dobrelya 6051006e21 Make rabbitmq autoheal partitions
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>
2014-08-08 11:25:39 +03:00
..
rabbit.pub.key Added manifest for setting up repo. 2011-06-05 20:59:10 -07:00
rabbitmq-env.conf.erb Rabbitmq ocf master/slave (WORK IN PROGRESS) 2014-06-19 11:52:15 +00:00
rabbitmq-server_redhat.erb Revert: Rewrite RabbitMQ init scripts 2014-05-22 14:54:10 +04:00
rabbitmq-server_ubuntu.erb Revert: Rewrite RabbitMQ init scripts 2014-05-22 14:54:10 +04:00
rabbitmq.config Make rabbitmq autoheal partitions 2014-08-08 11:25:39 +03:00
README.markdown Initial commit 2011-03-21 20:47:45 -07:00

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