Just to close the loop on this (for anyone interested), originally I was failing with my hiera-fu. Once I got the error about missing the ossec_server_ip value sorted, the second problem (Error while evaluating a Function Call, ossec::agentkey: is missing) seemed to be related to the way the fail() function works. I rewrote that bit and submitted a pull request to the author (along with other enhancements to the module).
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/aa952f60-1b63-4bef-8d40-0f580fc52a10%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.