We're utilizing the Dashboard to manage which modules are included for
each node.  In this setup, nodes.pp is empty.

E.g.:

modules/repos includes the various repository files for each OS.

...And in the dashboard, there is a class titled 'repos' and is
assigned to the various nodes that we want to have their repo files
managed.

I'd like the 'repos' module to be in the 'pre' stage.  I can
instantiate the 'pre' stage in a number of ways, but how can I assign
the 'repos' modules to the 'pre' stage?  I've read the documentation,
and it seems to only work by placing it in a class { "repos": stage =>
pre; } block in something like nodes.pp; however, the problem with
this is that this not only assigns 'repos' to 'pre', but ALSO includes
the 'repos' module for all nodes.  Again, module assignment to nodes
is managed in the dashboard, not nodes.pp.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to