fuel-library/deployment/puppet/rabbitmq/templates
Bogdan Dobrelya f0ce9c4e4a Adjust rmq stats collector settings
The stats collector falls behind under
high load on the messaging system.
The suggested optimization is to increase
the stats polling and disable rates
processing in management UI:
rabbit.collect_statistics_interval=30000
rabbitmq_management.rates_mode=none.
The new hiera parameter rabbit_config_management_variables
may be used to override the rates_mode to other values.

Related upstream PR
https://github.com/puppetlabs/puppetlabs-rabbitmq/pull/407

DocImpact
Closes-bug: #1510835

Change-Id: I9a3179a4f002064c9b6d2621a49bb0aa9aa707c7
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-10-28 14:57:48 +01:00
..
rabbitmq-env.conf.erb Sync puppetlabs rabbitmq module 2015-01-09 16:11:20 +01:00
rabbitmq.config.erb Adjust rmq stats collector settings 2015-10-28 14:57:48 +01:00
rabbitmqadmin.conf.erb Adapt rabbitmq module for Fuel 2015-01-09 16:11:28 +01: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