Fix strict_variables issue

This commit is contained in:
Mickaël Canévet 2014-04-08 16:28:02 +02:00
parent 0c0464d2d3
commit 51fcc18aa8
2 changed files with 3 additions and 1 deletions

View file

@ -50,7 +50,7 @@ class puppetdb::params {
}
}
if $::is_pe == 'true' {
if defined('$::is_pe') and $::is_pe == 'true' {
$puppetdb_package = 'pe-puppetdb'
$puppetdb_service = 'pe-puppetdb'
$confdir = '/etc/puppetlabs/puppetdb/conf.d'

View file

@ -11,6 +11,8 @@ describe 'puppetdb', :type => :class do
:operatingsystemrelease => '6.0',
:kernel => 'Linux',
:concat_basedir => '/var/lib/puppet/concat',
:id => 'root',
:path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
}
end