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
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
> 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
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: /
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
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 -
#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.:
&
#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.:
&
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
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
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'
>
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
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
13 matches
Mail list logo