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 ci_agent::integrations::rabbitmq (
$url = undef,
$username = undef,
$password = undef,
$queues = undef,
$vhosts = undef,
) inherits ci_agent::params {
file { "${ci_agent::params::conf_dir}/rabbitmq.yaml":
ensure => file,
owner => $ci_agent::params::oneapm_ci_user,
group => $ci_agent::params::oneapm_ci_group,
mode => '0600',
content => template('ci_agent/agent-conf.d/rabbitmq.yaml.erb'),
require => Package[$ci_agent::params::package_name],
notify => Service[$ci_agent::params::service_name]
}
}
|