Unable to use puppetlabs/postgresql module

asked 2015-04-06 15:08:09 -0500

jjolet gravatar image

updated 2015-04-06 15:42:10 -0500

It refuses to build the /etc/sysconfig/pgsql/postgresql file with the following errors:

Error: /Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[port]/Augeas[override PGPORT in /etc/sysconfig/pgsql/postgresql]: Could not evaluate: private method `open' called for Augeas:Class

because of this, it never runs the initdb, so postgres refuses to start. i can manually do service postgresql-9.4 initdb, which succeeds, then start with then succeeds.

but that file is still zero bytes.

edit retag flag offensive close merge delete

Comments

https://github.com/elastic/puppet-elasticsearch/issues/212 - do you have augeas dependencies installed?

lorcutt gravatar imagelorcutt ( 2015-04-08 16:03:52 -0500 )edit