On Mon, Apr 16, 2012 at 6:22 AM, Robert Rothenberg <rob...@gmail.com> wrote:
> So will the setting of the values for $owner and $prefix be deterministic,
> when set inside a class or resource definition?

Yes. The issue with parameters in class declaration is described in
further details here:
http://projects.puppetlabs.com/issues/9848

> Also, what if I want to be able to override these with user settings?
> (That's one of the reasons that they are parameters in the first place.)

John's example works with the edge case where you actually want to set
a variable to '', you'll see our documentation list 'UNSET' as the
default for this reason:
http://docs.puppetlabs.com/guides/parameterized_classes.html

Thanks,

Nan

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