24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'manifests/integrations/rabbitmq.pp', line 24
class cloudinsight_agent::integrations::rabbitmq (
$url = undef,
$username = undef,
$password = undef,
$queues = undef,
$vhosts = undef,
) inherits cloudinsight_agent::params {
file { "${cloudinsight_agent::params::conf_dir}/rabbitmq.yaml":
ensure => file,
owner => $cloudinsight_agent::params::cloudinsight_user,
group => $cloudinsight_agent::params::cloudinsight_group,
mode => '0600',
content => template('cloudinsight_agent/agent-conf.d/rabbitmq.yaml.erb'),
require => Package[$cloudinsight_agent::params::package_name],
notify => Service[$cloudinsight_agent::params::service_name]
}
}
|