FAQ
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 puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedMay 24, '13 at 4:37p
activeMay 24, '13 at 4:37p
posts1
users1
websitepuppetlabs.com

1 user in discussion

Björn: 1 post

People

Translate

site design / logo © 2022 Grokbase