Displaying 1 result from an estimated 1 matches for "envdir_file".
2013 May 09
1
equivalent way to iterate through a hash
...GRAPHITE_STORAGE_DIR
SOMETHING_ELSE
FOO
with the *contents* of those files the *values* of the keys above, then I
was hoping I could do something like this:
--------------------------------------------------
class daemontools_service {
define envdir_file ($name, $value){
file { "/var/lib/supervise/${service_name}/env/${key}" :
mode => 644,
content => "$value",
}
}
define setup(
$service_name,
$extra_envs={},
){...