Puppet Class: auditd::config::audisp_service

Defined in:
manifests/config/audisp_service.pp

Summary

Notify auditd to restart to ensure the process for audisp is running.

Overview

NOTE: THIS IS A [PRIVATE](github.com/puppetlabs/puppetlabs-stdlib#assert_private) CLASS**

Should only be called from audisp processing services.



10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/config/audisp_service.pp', line 10

class auditd::config::audisp_service {
  assert_private()

  # This is needed just in case the audit dispatcher fails at some point.
  exec { 'Restart Audispd':
    command => '/bin/true',
    unless  => "/usr/bin/pgrep -f ${auditd::dispatcher}",
    notify  => Class['auditd::service']
  }

}