Displaying 1 result from an estimated 1 matches for "keys_dir".
Did you mean:
kern_dir
2013 Jan 14
7
generate function not working within conditional?
Hi,
could this be a bug?
I have this code:
$mypath = get_module_path(''ssh'')
if generate("${mypath}/scripts/generate_host_keys.sh",
"${keys_dir}/${::fqdn}/ssh") {
notify {''something'':}
include ssh::server::keys
}
generate_host_keys.sh script generates ssh host keys for ssh daemons,
and stores them in private section.
Those files are later defined as resources in class ''ssh::server::keys''...