Is it possible to do the following:
define mydefine($hash) {
notice("Heres an instance ${hash[instance]}")
}
$pathtohash = "\$module::params::hash01"
#Then do:
@mydefine { $name: hash => $pathtohash}
It want it instantiate and peform equivlant to :
@mydefine { $name: hash => $module::params::hash01}
fwiw- I realize the virtuals later...
Can anyone help, not sure I understand the syntax around doing this.
Thanks,
rismoney
--
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.