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:
Gael Chamoulaud
2015-03-31 16:33:27 +02:00
parent 3e0d51396c
commit 1e7c162103
108 changed files with 320 additions and 312 deletions

View File

@@ -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'],
}