Hi,
I'm using the postgresql_database LWRP, and when creating a database, I got an error:
==> my_web: LoadError
==> my_web:
==> my_web: ---------
==> my_web: cannot load such file -- pg
Here is my recipe:
include_recipe "postgresql::libpq"
include_recipe "postgresql::server"
db_config = data_bag_item('database', 'myweb')
postgresql_database db_config["database_production"] do
owner db_config["username_production"]
encoding 'utf8'
template 'template0'
end