Defined Type: mollyguard::checks::libvirt
- Defined in:
- manifests/checks/libvirt.pp
Overview
use this to add check for running libbvirt domains to molly-guard
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'manifests/checks/libvirt.pp', line 24
define mollyguard::checks::libvirt (
String $destination,
String $check_name = $title,
String $sort = '20',
String $owner = 'root',
String $group = 'root',
String $mode = '0755',
String $options = '--all',
) {
file {"${destination}/${sort}-${check_name}":
ensure => 'present',
owner => $owner,
group => $group,
mode => $mode,
content => epp('mollyguard/checks/check-libvirt.sh.epp', {'options' => $options }),
}
}
|