Since I moved our pre-prod puppet master to RHEL6, things have
broken. This is how:
We have two classes, ''users'' (which defines all our users as
virtual)
and ''users::sys'' which realises the systems-admin users.
I then have (this is simplified to show the problem):
node basenode {
include users
}
node foo inherits basenode {
include defaults::systems
}
class defaults::systems {
include users::sys
}
Previously, this worked -- but now, it doesnt! The virtual users seem
to be created, but nothing is realised.
I also have another class -- sudo -- which is included in basenode.
This uses the class collection in a template file to build the sudoers
file, based on which of the users::xxx classes have been included.
Again, this used to work, but now it seems to be unable to see the
defaults::systems or users::sys classes for some reason. I know they
are being included because I''ve added a notice() call in the class to
verify its inclusion.
Why would this be? Does anyone know any reliable way to list every
class a node is including? Is there a reason the users::sys class
cannot realise resources defined in users?
We originally tried to use tags to achieve this, but they are
completely useless as they are not global...
Hope someone can help.
Steve
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.