Re: [Puppet Users] Extending a standard type

2013-01-29 Thread Matthew Pounsett
On Tuesday, 29 January 2013 00:29:43 UTC-5, Keith Burdis wrote: > > You can set the default values to undef and then the standard user type > will use its defaults (if any). It usually makes sense to default the > ensure parameter to 'present' though because if it is undef then nothing > will

Re: [Puppet Users] Extending a standard type

2013-01-28 Thread Keith Burdis
You can set the default values to undef and then the standard user type will use its defaults (if any). It usually makes sense to default the ensure parameter to 'present' though because if it is undef then nothing will happen: define site::user ( $ensure = 'present', $comment

[Puppet Users] Extending a standard type

2013-01-26 Thread Matthew Pounsett
I'm trying to extend the standard 'user' type to add maintenance of some of the contents of a user's home directory, and I'm trying to avoid creating an entirely new custom type if I can. The approach I'm taking is to create a site::user defined type which in turns calls the standard user type.