RE: [Puppet Users] hiera with environments

2020-06-12 Thread Bart-Jan Vrielink
11th June 2020 19:45 To: Puppet Users Subject: Re: [Puppet Users] hiera with environments hi, thanks for the reply.  This is all for PE, but i'm using puppet 6 OSS.. It used to work this way in 5.5 too, so I don't understand why its not seeing hiera in the preprod environment.  I could

Re: [Puppet Users] hiera with environments

2020-06-11 Thread solarflow 99
dohh! I can't believe I didn't even notice that darn typo, thats all it was too, its working fine now. Thanks a lot for pointing that out! Hopefully this example might help someone else out at least. I should have seen that... On Thursday, June 11, 2020 at 11:06:22 AM UTC-7, Nick Ber

Re: [Puppet Users] hiera with environments

2020-06-11 Thread Nick Bertrand
Hi, Perhaps it was just a typo in the email, but it looks like there might be a typo in one of your filenames: lrwxrwxrwx 1 root root 29 Jun 8 21:44 hierdata -> > gitclone/production/hieradata/ > Should this have been 'hieradata' instead of 'hierdata'? Nick -- You received this message bec

Re: [Puppet Users] hiera with environments

2020-06-11 Thread solarflow 99
hi, thanks for the reply. This is all for PE, but i'm using puppet 6 OSS.. It used to work this way in 5.5 too, so I don't understand why its not seeing hiera in the preprod environment. I could always do this: - make changed in preprod, and git commit there - cd to prod, then: - git remote up

Re: [Puppet Users] hiera with environments

2020-06-11 Thread Martin Alfke
Hi, You should change to using a control-repo and adopt your codebase. https://puppet.com/docs/pe/2018.1/control_repo.html https://github.com/puppetlabs/best-practices/blob/master/puppet-modules-and-the-control-repo.md

[Puppet Users] hiera with environments

2020-06-08 Thread solarflow 99
I have this strange problem where I just upgraded from puppetserver 5.5 to 6, and now the 2nd environment doesn't see hiera values, but the production environment does. I wonder if top level lookups don't work anymore? Here's how I have it configured: Here's my directory layout: code └── en