Fixed monasca check group
Changed for consistency with the recent refactor Change-Id: I7d948f8e63147b730da870df671361fae7e8bc47
This commit is contained in:
parent
9555c0031f
commit
5b53834b07
|
@ -22,7 +22,7 @@ class monasca::checks::apache(
|
|||
|
||||
file { "${conf_dir}/apache.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/generic.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -35,7 +35,7 @@ class monasca::checks::host_alive(
|
|||
|
||||
file { "${conf_dir}/host_alive.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/host_alive.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -35,7 +35,7 @@ class monasca::checks::http_check(
|
|||
|
||||
file { "${conf_dir}/http_check.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/generic.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -39,7 +39,7 @@ class monasca::checks::libvirt(
|
|||
|
||||
file { "${conf_dir}/libvirt.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/libvirt.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -31,7 +31,7 @@ class monasca::checks::mysql(
|
|||
|
||||
file { "${conf_dir}/mysql.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/generic.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -34,7 +34,7 @@ class monasca::checks::nagios_wrapper(
|
|||
|
||||
file { "${conf_dir}/nagios_wrapper.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/nagios_wrapper.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -25,7 +25,7 @@ class monasca::checks::network(
|
|||
|
||||
file { "${conf_dir}/network.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/generic.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -33,7 +33,7 @@ class monasca::checks::process(
|
|||
|
||||
file { "${conf_dir}/process.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/generic.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -35,7 +35,7 @@ class monasca::checks::rabbitmq(
|
|||
|
||||
file { "${conf_dir}/rabbitmq.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/generic.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -26,7 +26,7 @@ class monasca::checks::zk(
|
|||
|
||||
file { "${conf_dir}/zk.yaml":
|
||||
owner => 'root',
|
||||
group => 'monasca-agent',
|
||||
group => $::monasca::group,
|
||||
mode => '0640',
|
||||
content => template('monasca/checks/generic.yaml.erb'),
|
||||
require => File[$conf_dir],
|
||||
|
|
|
@ -29,10 +29,11 @@ class monasca(
|
|||
}
|
||||
|
||||
file { $monasca_dir:
|
||||
ensure => 'directory',
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
ensure => 'directory',
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
require => Group[$group],
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue