Re: [Puppet Users] manage users and ssh_authorized_key from hiera

2015-02-09 Thread Garrett Honeycutt
On 1/30/15 4:53 PM, Sans wrote: This is the class I have for the user creation: /*#users.pp */ class common::users { create_resources('group', hiera_hash('groups')) define create_ssh_users () { user { $name: password

Re: [Puppet Users] manage users and ssh_authorized_key from hiera

2015-02-07 Thread Pete Brown
Hi, At a vague guess you will probably need to have parameters in your create_ssh_users define that match the members in your hiera hash. On 31 January 2015 at 01:53, Sans r.santanu@gmail.com wrote: This is the class I have for the user creation: #users.pp class common::users {

[Puppet Users] manage users and ssh_authorized_key from hiera

2015-01-30 Thread Sans
This is the class I have for the user creation: *#users.pp* class common::users { create_resources('group', hiera_hash('groups')) define create_ssh_users () { user { $name: password = $password, managehome = $managehome, groups