Hi,

On Sat, Jul 31, 2010 at 2:43 AM, Jeff McCune <[email protected]> wrote:
> On Fri, Jul 30, 2010 at 5:01 PM, Alan Sparks <[email protected]> wrote:
>> How do you (if you can) represent a parameterized class reference in an
>> external node YAML description (exec terminus)?
>> -Alan
>
> You can't at the moment, unfortunately.  If you have any thoughts
> about what this API should look like, please describe some of your use
> cases or how you'd like this interface to operate.
>
> It's definitely something that I'm thinking about as well, I just
> don't think anyone has hammered out a design yet.

Is there some progress on this point? I would also need this feature,
in particular to use the new staging feature.
I would like to include the classes through an external node yaml
file. I would also like give the desired stage where the class should
be applied.

Alternatively: It seems not to be possible to set the stage
metaparameter with a default value in a class definition?!

something like this wont run in Stage "pre":

stage{ pre: before => Stage[main] }
class someclass ($stage=pre ) { ... }
class { someclass: }

Thanks and Bye,
Frederik

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