Hello, I recently found this great sample in the wiki to integrate ossec.
http://projects.puppetlabs.com/projects/1/wiki/OSSEC-HIDS_Patterns Once you installed openssl-devel on your ossec server while installation, the ossec-authd is compilied too and you are able to add clients to ossec server remotely. Therefore I changed the sample of ossec intergrated with these lines: exec { "client.keys": command => "/var/ossec/bin/agent-auth -m 10.1.2.3 -A $::fqdn -D /var/ossec/", creates => "/var/ossec/etc/client.keys", } In addition the service "ossec" object isn't working for me, because the init-script status return always 0. I'm new at puppet and would like to ask if I did fine: service { "ossec": enable => true, ensure => running, hasrestart => true, hasstatus => true, status => '/etc/init.d/ossec | grep "ossec-agentd is running"', } Thanks! Björn -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
