Fully qualify puppetdb classes

Puppet can become confused if there are classes of similar names
at different levels. In this case 'puppetdb' is available from the
puppetdb module and is available from openstack_project::puppetdb.

Putting the extra :: in front explicitly grabs it from top scope
so we don't have any issues.

Change-Id: Iaec56b82004c972f5771b6039675db5c2d725f91
This commit is contained in:
Spencer Krum 2015-03-30 21:08:11 -07:00
parent 5dd8577042
commit 3f3d85a3b0

View File

@ -31,7 +31,7 @@ class openstack_project::puppetdb (
sysadmins => $sysadmins,
}
class { 'puppetdb::database::postgresql':
class { '::puppetdb::database::postgresql':
require => [User['postgres'],
Class['openstack_project::template'],],
}