Christopher Johnston <chjoh...@gmail.com> writes:

> Say I have two classes:

> package::stable  -- installs a specific version of a pkg
> package::devel   -- installs the latest version in the repo

> The class package::stable would be specific for 90% of my machines in my
> environment, but on occasion we have to override the package version we want
> to install to grab the latest version.  Is there a way to "disable" the
> package::stable class if say package::devel is assigned to a node?

I may be misunderstanding, but it sounds like package::devel should be
inheriting from package::stable and overriding the ensure type (to latest
instead of present).  If you do that, you don't need to disable
package::stable.

-- 
Russ Allbery (r...@stanford.edu)             <http://www.eyrie.org/~eagle/>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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