Re: [Puppet Users] unable to create home directory

2016-04-04 Thread Patrick G.
I don't need to create the user just /home//.ssh because the user exist in ldap. So how do I give access to puppet to create only /home/admin/.ssh Op vrijdag 1 april 2016 16:32:43 UTC+2 schreef Mike Hendon: > > > On Friday, 1 April 2016 14:34:01 UTC+1, jcbollinger wrote: >> >> >> >> On Thursday

Re: [Puppet Users] unable to create home directory

2016-03-31 Thread Patrick G.
ermission to create it? > > > On Thursday, March 31, 2016, Patrick G. <mailto:pgh2...@gmail.com>> wrote: > Nope … > With new users this should create the directory. > > The debug log shows: >> Debug: Creating /home/admin/.ssh > > But it doesn’t create

Re: [Puppet Users] unable to create home directory

2016-03-31 Thread Patrick G.
> Debug: Creating /home/admin/.ssh > > Error: /Stage[main]/Ssh/Ssh_authorized_key[admin]: Could not evaluate: No > > such file > or directory - /home/admin/.ssh > > Well, does the directory /home/admin/.ssh exist? > > > -- > Lowe Schmidt | +46 723 867 157 &g

[Puppet Users] unable to create home directory

2016-03-29 Thread Patrick G.
Hi, I am using # puppet-module-ssh In the yaml file I have: ssh::keys: admin: ensure: present user: admin type: dsa key: ...== But when running puppet agent I get: Notice: /Stage[main]/Ssh/Ssh_authorized_key[admin]/ensure: created Debug: Creating /home/admin/.ssh Error: /

[Puppet Users] merge 2 of more files

2015-09-07 Thread Patrick G.
Hi, In /etc/puppet/hieradata/users/ I have 2 yaml files. For a node I want to merge these files and on the other node only one file. In the /etc/puppet/enc/nodes/server1.yaml I have: --- classes: - ssh parameters: usergroups: - group1 - group2 And on the other node only -group2. Th

Re: [Puppet Users] keep changing owner

2015-08-24 Thread Patrick G.
Thanks .. that module did changed the ownership of libdir. Regards, Patrick. Op maandag 17 augustus 2015 17:55:51 UTC+2 schreef Josh Cooper: > > Hi Patrick, > > On Thu, Aug 13, 2015 at 6:10 AM, Patrick G. > wrote: > >> Hi, >> >> When running puppet agent -

Re: [Puppet Users] Help with hiera.yaml config

2015-08-13 Thread Patrick G.
#x27; parameters: usergroups: - 'root' - 'admiam' - 'oracle' This works: hiera -c /etc/puppet/hiera.yaml -d ssh::keys usergroups=oracle But it won't put al the usergroups on this server. Op maandag 10 augustus 2015 11:10:44 UTC+2 schreef Patrick G.: &

[Puppet Users] Re: Help with hiera.yaml config

2015-08-13 Thread Patrick G.
#x27; parameters: usergroups: - 'root' - 'admiam' - 'oracle' This works: hiera -c /etc/puppet/hiera.yaml -d ssh::keys usergroups=oracle But it won't put al the usergroups on this server. Op maandag 10 augustus 2015 11:10:44 UTC+2 schreef Patrick G.: &

[Puppet Users] keep changing owner

2015-08-13 Thread Patrick G.
Hi, When running puppet agent -t I get Notice: /File[/var/lib/puppet/lib]/owner: owner changed 'puppet' to 'root' Notice: /File[/var/lib/puppet/lib]/group: group changed 'puppet' to 'root' And then Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/owner: owner changed 'root' to 'puppet' Not

[Puppet Users] get data from yaml in subdirs

2015-08-13 Thread Patrick G.
Hi, Can someone please explain something. I have a hiera.yaml: --- :backends: - yaml :yaml: :datadir: /etc/puppet/hieradata :hierarchy: - "usergroups/%{::usersgroups}" - global global.yaml contains: --- test: Test_output When I do a: hiera -c /etc/puppet/hiera.yaml test I'll get: Tes

Re: [Puppet Users] Help with hiera.yaml config

2015-08-13 Thread Patrick G.
I've tried that also but then it's removing both entries. Op dinsdag 11 augustus 2015 03:28:12 UTC+2 schreef gregory...@calorieking.com: > > Hi Patrick, > > On 10/08/15 17:10, Patrick G. wrote: > > parameters: > >sudoroles: 'root_users' >

[Puppet Users] Help with hiera.yaml config

2015-08-10 Thread Patrick G.
Hi, I have the following config. :backends: - yaml :yaml: :datadir: /etc/puppet/hieradata :hierarchy: - nodes/%{::fqdn} - sudoroles/%{::sudoroles} - common In sudorules I have twho files with root users en dba users. On a server I want both root users and dba users and on the other s

[Puppet Users] Help with hiera.yaml config

2015-08-10 Thread Patrick G.
Hi, I have the following config. :backends: - yaml - json :yaml: :datadir: /etc/puppet/hieradata :hierarchy: - nodes/%{::fqdn} - sudoroles/%{::sudoroles} - common In sudorules I have twho files with root users en dba users. On a server I want both root user and dba user and on the