On Fri, Oct 8, 2010 at 12:44 PM, Ryan Y. Coleman <dudei...@gmail.com> wrote:

>
>
> ----- Original Message -----
> > From: "Douglas Garstang" <doug.garst...@gmail.com>
> > To: puppet-users@googlegroups.com
> > Sent: Friday, October 8, 2010 3:35:52 PM
> > Subject: Re: [Puppet Users] Run Stages
> >
> > Thanks Ryan. I must be missing something pretty fundamental, because
> > when I do:
> >
> >
> > class { "yum::client": stage => repo }
>
> Are you setting this within your node definition?
>
> Like:
>
> node "foo.example.com" {
>   include class-that-includes-stages
>    class { "yum::client": stage => repo }
> }
>
>
Ryan,

Got it working, thanks.

However, something else is wrong. I have this:

class runstages::common {
    stage { yum: before => Stage[main] }
}

class { "yum::common": stage => yum }

and puppet just tried to install RPM's right off the bat, before the
yum::common class was implemented. It would seem that run stages are not
working at all.

Doug.

-- 
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