Closed mariomarin closed 1 year ago
For the postgresql database configuration the puppetlabs-postgresql module (~ 2.5.0) is needed. We are currently refactoring all our puppet modules and plan to release proper modules with correct dependencies in their Modulefiles.
puppetlabs-postgresql is installed
root@host:/etc/puppet/manifests# dpkg -l puppet
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============================-====================-====================-==================================================================
ii puppet 2.7.23-1~deb7u3 all Centralized configuration management - agent startup and compatibi
root@host:~# puppet module list
/etc/puppet/modules
├── puppet-puma (v0.0.1)
├── puppet-redmine (v0.0.1)
├── puppetlabs-apt (v1.4.2)
├── puppetlabs-concat (v1.1.0)
├── puppetlabs-firewall (v1.1.1)
├── puppetlabs-mysql (v2.2.3)
├── puppetlabs-postgresql (v3.3.3)
├── puppetlabs-stdlib (v4.2.1)
└── puppetlabs-vcsrepo (v0.2.0)
root@host:/etc/puppet/manifests# puppet apply redmine.pp
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type postgresql::database at /etc/puppet/modules/puma/manifests/app.pp:112 on node host
Make sure you use version ~ 2.5.0 of that module. With 3.0.0 most resource types has been renamed. Hopefully I find some time in the near future to update our modules. Currently we still depend on postgres module 2.5.0.
When I ran
I get
These are the parameters: