Re: [Puppet Users] hiera lookup

2018-05-29 Thread Ugo Bellavance
> > That's awfully surprising if those data appear in an Hiera data file from > which you are successfully loading other data. If that is in fact > happening then the most likely reason would be that a resource-like class > declaration for that class somewhere in your manifest set is explicitl

Re: [Puppet Users] hiera lookup

2018-05-29 Thread jcbollinger
On Tuesday, May 29, 2018 at 7:25:11 AM UTC-5, Ugo Bellavance wrote: > > > > On Tuesday, May 29, 2018 at 6:55:01 AM UTC-4, Arnau wrote: >> >> >> >> 2018-05-29 12:24 GMT+02:00 Ugo Bellavance : >> >>> >>> >>> On Tuesday, May 29, 2018 at 5:54:54 AM UTC-4, Arnau wrote: Hi, postgres

[Puppet Users] puppet compile master - request via load balancer

2018-05-29 Thread sriranganath acharya
can someone help me to configure HA proxy as a load balancer for puppet servers ? as of now, we have configured HA proxy in TCP mode, but we are facing issue when we try to puppet agent - t . agent registration when we point agent to LB, registration working fine. after the registration,

[Puppet Users] puppet compile master load balancing

2018-05-29 Thread chanlinux
Hi, I have set-up one MOM and two compile masters by following the link - https://puppet.com/docs/pe/2017.3/installing/installing_compile_masters.html. I am able to download and install the package in agents by replacing the MOM server ip with LB ip. Client details: Client are pointed to LB I

Re: [Puppet Users] Load Balancer for Puppet Master

2018-05-29 Thread chanlinux
Neil, can you share the config files On Sunday, 26 June 2016 18:53:01 UTC+5:30, Neil - Puppet List wrote: > > Hello > > i front puppet masters with haproxy. haproxy handles ssl and requires a > valid client cert. requests for a cert go to a seperate ca master. > > happy to supply config if you

Re: [Puppet Users] hiera lookup

2018-05-29 Thread Ugo Bellavance
On Tuesday, May 29, 2018 at 6:55:01 AM UTC-4, Arnau wrote: > > > > 2018-05-29 12:24 GMT+02:00 Ugo Bellavance >: > >> >> >> On Tuesday, May 29, 2018 at 5:54:54 AM UTC-4, Arnau wrote: >>> >>> Hi, >>> >>> postgresql::server::contrib::package_name: 'rh-postgresql96-postgresql- >>> contrib' >>> postgr

[Puppet Users] Re: Managing "live" network configuration

2018-05-29 Thread Michael Watters
Not familiar with this module but you could set up a custom exec resource to restart the network when $facts['ipaddress'] does not match what is defined in hiera. We do something similar for SELinux to make sure the server is actually in the mode that it should be. On Thursday, May 24, 201

Re: [Puppet Users] hiera lookup

2018-05-29 Thread Arnau
2018-05-29 12:24 GMT+02:00 Ugo Bellavance : > > > On Tuesday, May 29, 2018 at 5:54:54 AM UTC-4, Arnau wrote: >> >> Hi, >> >> postgresql::server::contrib::package_name: 'rh-postgresql96-postgresql- >> contrib' >> postgresql::server::contrib::packages_ensure: present >> >> > I don't get the error an

Re: [Puppet Users] hiera lookup

2018-05-29 Thread Ugo Bellavance
On Tuesday, May 29, 2018 at 5:54:54 AM UTC-4, Arnau wrote: > > Hi, > > postgresql::server::contrib::package_name: 'rh-postgresql96-postgresql- > contrib' > postgresql::server::contrib::packages_ensure: present > > I don't get the error anymore. It's not doing what it's supposed but I'll look in

Re: [Puppet Users] hiera lookup

2018-05-29 Thread Arnau
Hi, postgresql::server::contrib::package_name: 'rh-postgresql96-postgresql- contrib' postgresql::server::contrib::packages_ensure: present HTH, Arnau 2018-05-29 11:50 GMT+02:00 Ugo Bellavance : > Hi, > > Here's the content of my whole file, thanks: > > --- > > postgresql::globals::client_packag

Re: [Puppet Users] hiera lookup

2018-05-29 Thread Ugo Bellavance
Hi, Here's the content of my whole file, thanks: --- postgresql::globals::client_package_name: 'rh-postgresql96-postgresql' postgresql::globals::createdb_path: '/opt/rh/rh-postgresql96/root/usr/bin/createdb' postgresql::globals::datadir: '/var/opt/rh/rh-postgresql96/lib/pgsql/data' postgresql::

Re: [Puppet Users] hiera lookup

2018-05-29 Thread Arnau
Hi, are you sure the errors is about the contrib? can you show us the hiera content for ' postgresql::server::db' ? Could it be that you have an string when a Hash is expected (for the create_resource). Best, Arnau 2018-05-28 22:19 GMT+02:00 Ugo Bellavance : > Hi, > > I am using the postgresql