Displaying 1 result from an estimated 1 matches for "module_us".
Did you mean:
module_put
2012 Jul 01
1
puppet-hiera used with Parameterised class
...-------
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 = "Its Working!!!"
### - Server default values
### -------------------
case $::operatingsystem {
/(Ubuntu|...