On Friday, September 13, 2013 3:12:20 AM UTC-5, Andreas Dvorak wrote:
>
> I forgot: Yes the init.pp file is the one I use.
>
And you can confirm that by changing that user declaration and seeing the
corresponding change in the catalog delivered to the client?
If the User declaration you are looking at is the one that is actually
being used, but the parameters included in the catalog are not exactly as
declared, then I see only two possibilities:
1. Your master's Puppet code has been hacked to inject the modification.
2. The parameters are being overridden somewhere.
Since a hack seems rather unlikely, I would look for overrides. Those
could appear in direct or indirect subclasses of class admin_user::add, or
in User collection expressions. For example, the latter could look like
this:
User<| title == 'user1' |> {
home => '/export/home/user1'
}
This is really getting quite speculative, though. Can you present a
simple, complete example that demonstrates the problem? What you presented
above lacks any declaration of instances of your admin_user::add::useradd
definition, and any indication of what else may be declared on the target
node. If you use a node declaration like the following for the test node
then does it still behave as you observed?
node <testnode-certname> {
include 'admin_user::group'
notify { 'node verification':
message => 'confirmed using the test node block'
}
addmin_user::add::adduser { 'user1":
# all needed parameters
}
}
John
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.