[Puppet Users] profile template vs module template

2017-09-15 Thread Asif Iqbal
I need to use a template from profile module instead of from a component module and not sure how. This is what I have tried so far # cat /etc/puppet/modules/profile/manifests/sssd.pp class profile::sssd ( $ldap_default_bind_dn = hiera('ldap_default_bind_dn'), $ldap_base = hiera('ldap_base'),

Re: [Puppet Users] Re: Hiera 5 + Puppet 5 File Backend

2017-09-15 Thread Henrik Lindberg
On 15/09/17 19:18, John Baird wrote: Right, and that's exactly my concern with NOT being able to do exactly that. Scenarios 1.  I wish to lookup a URI that is to be configured for a module.  The module name here is obviously not important, but let's call it "mymodule".  In the manifest, I

Re: [Puppet Users] Re: Hiera 5 + Puppet 5 File Backend

2017-09-15 Thread John Baird
Right, and that's exactly my concern with NOT being able to do exactly that. Scenarios 1. I wish to lookup a URI that is to be configured for a module. The module name here is obviously not important, but let's call it "mymodule". In the manifest, I wish to lookup ssh keys being served up by

Re: [Puppet Users] Re: Hiera 5 + Puppet 5 File Backend

2017-09-15 Thread Henrik Lindberg
On 15/09/17 16:46, John Baird wrote: I just realized, while doing some other hiera work with a custom HTTP backend, that this won't work.  It's the same problem I have with the way scoping works for the HTTP backend.  If I don't specify the lookup() key in the manifest with a scope, then

[Puppet Users] Re: Hiera 5 + Puppet 5 File Backend

2017-09-15 Thread John Baird
I just realized, while doing some other hiera work with a custom HTTP backend, that this won't work. It's the same problem I have with the way scoping works for the HTTP backend. If I don't specify the lookup() key in the manifest with a scope, then puppet ONLY uses GLOBAL and ENVIRONMENT

[Puppet Users] Puppet agent 1.10.8 released

2017-09-15 Thread Michelle Fredette
Today we release Puppet agent 1.10.8. This release contains a bug fix in Puppet 4.10.8 and a versioning fix in the Windows package. No other components are updated. Read the Puppet agent release notes for full details: https://docs.puppet.com/puppet/4.10/release_notes_