I apply an incremental change to my postgresql install using puppet.
sudo puppet apply --modulepath=/vagrant/puppet/modules -e "include iwd-postgresql"
This result in the following error:
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class postgresql::globals at /vagrant/puppet/modules/iwd-postgresql/manifests/init.pp:6 on node target.intware.com
Wrapped exception:
Could not find declared class postgresql::globals
I have installed the puppetlabs/postgresql module.
If I do a puppet list I see the following:
[vagrant@target ~]$ puppet module list
/home/vagrant/.puppet/modules
├── puppetlabs-apt (v2.2.0)
├── puppetlabs-concat (v1.2.4)
├── puppetlabs-postgresql (v4.6.0)
└── puppetlabs-stdlib (v4.9.0)
/usr/share/puppet/modules (no modules installed)
Any ideas? I am running the appply command on a vagrant virtual machine in vagrant's home folder.
/vagrant/puppet/modules
? – Chris Pitmanpuppet apply
but not when you list modules? – Chris Pitman