[Puppet Users] Getting the client requested environment from node classifier script

2018-05-18 Thread choffee
Hi, Is it possible to get the environment the client has requested from within the node classifier script? We used to use an environment vairable that the old webbrick server used to set but it looks like that is no longer availalbe in puppetserver. Thanks john -- You received this message

[Puppet Users] Hiera and roles/profiles

2018-05-18 Thread Arnau
Hi all, I recently moved from puppet 3 to puppet 5 and hiera 1 to 3. I'm taking this opportunity to change a little bit the hierarchy setup I've been using for the last years. In my previous conf I used to create a custom fact for each role so I could do something like: - "%{environment}/hieradb/

[Puppet Users] Re: Hiera and roles/profiles

2018-05-18 Thread jcbollinger
On Friday, May 18, 2018 at 3:44:24 AM UTC-5, Arnau wrote: > > Hi all, > > I recently moved from puppet 3 to puppet 5 and hiera 1 to 3. I'm taking > this opportunity to change a little bit the hierarchy setup I've been using > for the last years. > In my previous conf I used to create a custom f

Re: [Puppet Users] Re: Hiera and roles/profiles

2018-05-18 Thread Arnau
Hi John, first of all, thanks for your answer. 2018-05-18 14:15 GMT+02:00 jcbollinger : > > > >> >> "%{environment}/hieradb/profile/profileA.yaml" >> "%{environment}/hieradb/profile/profileB.yaml" >> "%{environment}/hieradb/profile/profileC.yaml" >> >> Based on my tests (yup, I tried this) if h

[Puppet Users] Announcement: Release of Bolt 0.20.2

2018-05-18 Thread Kate Lopresti
Good afternoon everyone, We're closing out the week with the release of Bolt 0.20.2, which resolves two issues. - Bolt gem repackaged with required code - Plans accept --query flag For more information on these, see: https://puppet.com/docs/bolt/0.x/bolt_release_notes.html. To try this