From 3f3d85a3b0bd46c9c4899b36f7633e8b095b8f4d Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Mon, 30 Mar 2015 21:08:11 -0700 Subject: [PATCH] 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 --- modules/openstack_project/manifests/puppetdb.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/puppetdb.pp b/modules/openstack_project/manifests/puppetdb.pp index 078986d9d3..bc010c0b9b 100644 --- a/modules/openstack_project/manifests/puppetdb.pp +++ b/modules/openstack_project/manifests/puppetdb.pp @@ -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'],], }