On 04/19/2018 02:21 PM, Ugo Bellavance wrote: > > > On Thursday, April 19, 2018 at 7:50:30 AM UTC-4, Thomas Müller wrote: > > Hi Ugo > > Am Freitag, 30. März 2018 17:27:28 UTC+2 schrieb Ugo Bellavance: > > Hi, > > I'm using the puppetlabs-postgresql module and it works very > well, but I want to make it work with a non-standard version > of postgresql (from Red Hat Software Collections) because I > would like to use Postgresql 9.6 on RHEL 7. Almost everything > is working, but I get errors from some commands that cannot > find a shared object. This is caused by the fact that > Software Collections package use non-standard paths for their > files. For example, postgresql binaries are in > opt/rh/rh-postgresql96/root/usr/bin/ than /usr/bin/. Here's > the kind of errors I get: > > /opt/rh/rh-postgresql96/root/usr/bin/psql: error while loading > shared libraries: libpq.so.rh-postgresql96-5: cannot open > shared object file: No such file or directory > > > I've used the pl-postgresql module successfully this way: > > > https://gist.github.com/vinzent/448fa47032a6f050fb4c501cc741ccad#file-puppetdb-postgresql-9-5-example-pp > > <https://gist.github.com/vinzent/448fa47032a6f050fb4c501cc741ccad#file-puppetdb-postgresql-9-5-example-pp> > > > Hi, > > That looks great, but is that in the puppetdb module or in the > postgresql module? >
I was configuring postgresql SCL for use with the puppetdb module. the important part you is the postgresql::globals class that defines all necessary pathes that the postgresql SCL uses. - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/610d006e-1b7a-6f1f-4435-6ab9bcb4a300%40chaschperli.ch. For more options, visit https://groups.google.com/d/optout.
