Created
October 11, 2013 09:19
-
-
Save actionjack/6931942 to your computer and use it in GitHub Desktop.
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type with puppetlabs / puppetlabs-postgresql module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test.pp: | |
| $db = 'postgresql_test_db' | |
| class { 'postgresql::server': } | |
| postgresql::server::db { $db: | |
| user => $db, | |
| password => postgresql_password($db, $db),} | |
| When executed: | |
| $puppet apply --modulepath=modules:static-modules /tmp/test.pp | |
| Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults | |
| Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type postgresql::server::db at /tmp/test.pp:6 on node tools-poc.local | |
| Wrapped exception: | |
| Invalid resource type postgresql::server::db | |
| Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type postgresql::server::db at /tmp/test.pp:6 on node tools-poc.local |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
operatingsystem => Ubuntu
operatingsystemrelease => 12.04
osfamily => Debian