[Puppet Users] User Management from LDAP / freeipa

2017-02-06 Thread Thomas Müller
IMHO sounds like a job for pam_mkhomedir (https://linux.die.net/man/8/pam_mkhomedir) and not for puppet. - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

[Puppet Users] Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-06 Thread Thomas Müller
This is a new deprecation introduced with puppet 4.9.0 (puppet-agent 1.9.0). A related bug: https://tickets.puppetlabs.com/browse/PUP-7171 I too can't find docs to the new format . - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To u

[Puppet Users] Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-06 Thread Joshua Schaeffer
I recently destroyed my puppetserver server and recreated it in my sandbox environment. Before I destroyed it, I copied all my important data off of the server including my /etc/puppetlabs/code/hiera.yaml file. When I recreated my server and set everything back up I copied all my modules, confi

[Puppet Users] Re: How can I install puppetexplorer by hand?

2017-02-06 Thread Olivier Contant
Thanks for the missing command to install puppetexplorer apache profile. The https://forge.puppet.com/spotify/puppetexplorer/readme forgot to put this critical step. puppet agent -t --tags puppetexplorer -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] Help with data structure

2017-02-06 Thread Jonathan Gazeley
Sorry, this is my fault. I hadn't done "git push" to deploy my new code before testing :( Your example works perfectly! Thanks, Jonathan On 06/02/17 14:47, Jonathan Gazeley wrote: Thanks for your reply. I'm still having problems with this :( This is my worked example: # Provide example config

Re: [Puppet Users] User Management from LDAP / freeipa

2017-02-06 Thread Dan White
Thanks for the idea. I will tinker and report back. "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterson (Calvin & Hobbes) > On Feb 6, 2017, at 9:58 AM, Christopher Wood > wrote: > > The defined

Re: [Puppet Users] User Management from LDAP / freeipa

2017-02-06 Thread Christopher Wood
The defined function is more about whether something is defined in the catalog, if I recall correctly. https://docs.puppet.com/puppet/latest/function.html#defined This sounds like something for a custom fact which returns a list of users found on the system. You may have to do an ldapsearch fro

Re: [Puppet Users] Help with data structure

2017-02-06 Thread Jonathan Gazeley
Thanks for your reply. I'm still having problems with this :( This is my worked example: # Provide example config uob_nagios::bpiconfig { 'radius': displayname=> 'RADIUS eduroam local', primary=> 1, members=> { 'radius01.example.com' => { service =

[Puppet Users] User Management from LDAP / freeipa

2017-02-06 Thread Dan White
I am trying to figure out if I can do any user management from Puppet for users initially managed by Red Hat's Identity Manager (freeipa / ldap) Here is a code snippet I tried: # Class: wtf # class wtf {   if defined( User["dewhite"] ) {     $foo = User["dewhite"]["home"]     notify { "->${foo}

[Puppet Users] Re: [Puppet-dev] Draft for new type and provider API

2017-02-06 Thread David Lutterkort
Hi Martin, On Sun, Feb 5, 2017 at 2:35 PM, Martin Alfke wrote: > It seems to me as if you are “hiding” some things which are hard to > understand - similar to mk_resource_methods which is useful when following > some silent assumptions. > My big hope is that we can do away with all that intern