Making Packstack Compatible with Puppet 4.x
http://docs.puppetlabs.com/puppet/3.7/reference/deprecated_language.html Change-Id: I5695ec4e5d26fe809bcc4b5b99c46904d016cfb4 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
@@ -4,7 +4,7 @@ package{ 'nrpe':
|
||||
}
|
||||
|
||||
file{ '/etc/nagios/nrpe.cfg':
|
||||
ensure => 'present',
|
||||
ensure => file,
|
||||
mode => '0644',
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
@@ -35,7 +35,7 @@ class nagios_configs () {
|
||||
}
|
||||
}
|
||||
|
||||
class{'nagios_configs':
|
||||
class{ '::nagios_configs':
|
||||
notify => Service['nrpe'],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user