Displaying 1 result from an estimated 1 matches for "service_default_loc".
2012 Jul 01
1
puppet-hiera used with Parameterised class
...1rc1-1-g3e68ff0)
puppet-common (3.0.0-0.1rc3puppetlabs1)
puppet (3.0.0-0.1rc3puppetlabs1)
Relevant Files:
*init.pp file*
--------------------
root@hiera hieratest/manifests# cat init.pp
class hieratest (
$bar = hiera("foo"),
$zoo = hiera("service_default_loc")
) {
notice ("Working ...")
notice ("Bar == ${bar}")
notice ("Module_user == ${zoo}")
}
------------------
and *data.pp* file
-------------------
root@hiera hieratest/manifests# cat data.pp
class hieratest::data {
$foo = "...