Got it. thanks :)

On Nov 13, 11:23 am, RijilV <[EMAIL PROTECTED]> wrote:
> 2008/11/12 gary <[EMAIL PROTECTED]>
>
>
>
> > Hello Luke,
>
> > I could separate it into a distinct class. the munin-node wasn't
> > exactly a good example. Like java for instance is needed for various
> > things; I could create a class and may eventually do that. But there's
> > quite a few examples and maybe a module is the only way.
>
> > My question was should a virtual package work? :)
>
> > > > @package { "munin-node": ensure => installed }
> > > > realize(Package[munin-node])
>
> They do, you just cannot define them more than once, like any oher
> resource.  eg:
>
> class packages {
>     @package {"example": ensure => installed }
>
> }
>
> class test1 {
>     include packages
>     realize(Package[example])
>
> }
>
> class test2 {
>     include packages
>     realize(Package[example])
>
> }
>
> .r'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to