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' Now, if the files aren't there, script in generate function creates them, and then code under the "if" clause is executed. But if the files are already in the ${keys_dir}/${::fqdn}/ssh directory, script returns 0, but the code under the if statement isn't run :-/ Even if I delete the resources on the agent (rm -f /etc/ssh/*), puppet agent run doesn't figure the changes... I would have swore that this worked in earlier release... I'm on 3.0.2-1 CentOS 6. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.