style guide fixs

Signed-off-by: Nick Chappell <nick@intronic.org>
This commit is contained in:
Steven Bambling 2014-09-26 11:46:29 -07:00 committed by Nick Chappell
parent 8f7ed4d64a
commit 2ea74bddf0

View file

@ -14,8 +14,8 @@ class icinga2::nrpe::config inherits icinga2::nrpe {
ensure => directory,
owner => 'root',
group => 'root',
mode => '755',
require => Package[$icinga2::params::icinga2_client_packages],
mode => '0755',
require => Package[$icinga2::params::icinga2_client_packages],
}
#The folder that will hold our command definition files:
@ -23,19 +23,19 @@ class icinga2::nrpe::config inherits icinga2::nrpe {
ensure => directory,
owner => 'root',
group => 'root',
mode => '755',
require => Package[$icinga2::params::icinga2_client_packages],
mode => '0755',
require => Package[$icinga2::params::icinga2_client_packages],
}
#File resource for /etc/nagios/nrpe.cfg
file { '/etc/nagios/nrpe.cfg':
path => '/etc/nagios/nrpe.cfg',
ensure => file,
path => '/etc/nagios/nrpe.cfg',
owner => 'root',
group => 'root',
mode => '644',
mode => '0644',
content => template('icinga2/nrpe.cfg.erb'),
require => Package[$icinga2::params::icinga2_client_packages],
require => Package[$icinga2::params::icinga2_client_packages],
}
}