Re: [Puppet Users] Replacing extlookup to look up external things!

2019-01-29 Thread Ben Ford
Your simplest and most straightforward upgrade path would be to port the CSV file to a common.yaml file and then switch to using lookup() with hieradata. Later on, you can start differentiating and build a sane data hierarchy. Check out the docs at https://puppet.com/docs/puppet/latest/hiera_quick

[Puppet Users] [Announce] Release of PDK v1.9.0

2019-01-29 Thread Bryan Jen
Hello Everyone, PDK v1.9.0 is a feature release that is now generally available. In v1.9.0, we've added a new 'YAML' validator, for ensuring the various YAML based configuration files in your module are parsable. This release also includes important enhancements and quality of life updates to th

[Puppet Users] Replacing extlookup to look up external things!

2019-01-29 Thread Robert Inder
I'm looking at the possibility of moving our Puppet manifests from 3.8 to Something More Recent (i.e. 6.1) We have one big CSV file for (mostly) encrypted passwords and the like. And our existing manifests use extlookup to extract the relevant entries, via calls like pw = How should I replace

Re: [Puppet Users] Permissions denied?

2019-01-29 Thread Josh Cooper
On Tue, Jan 29, 2019 at 10:16 AM Jason McMahan wrote: > Good day, > I received the below error when running the lsp module by kpn from the > forge. > > > Error: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Failed to generate > additional resources using 'eval_generate': E > rror 500 on SERVER

[Puppet Users] Puppet Enterprise 2019.0.2 is now available!

2019-01-29 Thread Puppet Product Updates
The latest patch release for the current feature-development release stream of Puppet Enterprise, PE 2019.0.2, is now available. This backwards-compatible release contains bug fixes and minor improvements, including: Updating PE to the latest platform release in the 6.0 stream, Puppet Platform 6.

[Puppet Users] Puppet Enterprise 2018.1.7 LTS is now available!

2019-01-29 Thread Puppet Product Updates
The latest patch release for the current Long Term Support (LTS) release of Puppet Enterprise, PE 2018.1.7, is now available. This is a backwards-compatible release that contains bug fixes and minor improvements, including: Updating PE to the latest stable platform release, Puppet Platform 5.5.10

[Puppet Users] Permissions denied?

2019-01-29 Thread Jason McMahan
Good day, I received the below error when running the lsp module by kpn from the forge. Error: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Failed to generate additional resources using 'eval_generate': E rror 500 on SERVER: Server Error: Permission denied - /etc/puppetlabs/code/environme

Re: [Puppet Users] Re: How to compare two strings/Arrays

2019-01-29 Thread Abhishek singh
Thanks Steven. On Tue, 29 Jan 2019, 22:12 $facts['interfaces'] is a string, not an array. For an array of > interface names, either use $facts['interfaces'].split(',') or > $facts['networking']['interfaces'].keys(). > > Other than that, your logic should work fine. > > On Monday, January 28, 201

[Puppet Users] Re: How to compare two strings/Arrays

2019-01-29 Thread steven . pritchard
$facts['interfaces'] is a string, not an array. For an array of interface names, either use $facts['interfaces'].split(',') or $facts['networking']['interfaces'].keys(). Other than that, your logic should work fine. On Monday, January 28, 2019 at 3:35:23 PM UTC-6, Abhishek singh wrote: > > Hel