Use template for plugin configuration
This commit is contained in:
parent
917709f3d3
commit
22519bea1a
@ -61,10 +61,12 @@ class mcollective::rabbitmq(
|
||||
@service { 'rabbitmq-server' : }
|
||||
}
|
||||
|
||||
exec {"rabbit-plugins":
|
||||
path => '/usr/sbin/:/usr/lib/rabbitmq/bin/',
|
||||
command => 'rabbitmq-plugins enable amqp_client rabbitmq_stomp',
|
||||
require => Package['rabbitmq-server'],
|
||||
notify => Service['rabbitmq-server'],
|
||||
file {"/etc/rabbitmq/enabled_plugins":
|
||||
content => template("mcollective/enabled_plugins.erb"),
|
||||
owner => root,
|
||||
group => root,
|
||||
mode => 0644,
|
||||
require => Package["rabbitmq-server"],
|
||||
notify => Service["rabbitmq-server"],
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
[amqp_client,rabbitmq_stomp].
|
Loading…
Reference in New Issue
Block a user