Hi.
I have a dilemma.
So far I've used this kind of syntax:
class foo (
$var1 = $foo::params::var1
$var2 = $foo::params::var2
$var3 = $foo::params::var3
){
...
some code
..
}
but, I've seen also this kind of usage:
class foo (
$var1 = $::foo::params::var1
$var2 = $::foo::params::var2
$var3 = $::foo::params::var3
){
...
some code
..
}
So, what's up with forcing the root scope for the default values of
class params? Is this a better way of writing a module? What do you
think is more "by the book"?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.