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
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
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.