Puppet Class: librenms::applications::ups_nut
- Inherits:
- librenms::params
- Defined in:
- manifests/applications/ups_nut.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'manifests/applications/ups_nut.pp', line 1
class librenms::applications::ups_nut (
String $usv,
Boolean $enabled = true,
) inherits librenms::params {
create_resources(librenms::fetch, {
'ups-nut.sh' => {
use => $enabled,
}})
librenms::snmpd{'ups-nut':
use => $enabled,
script_args => $usv,
script => 'ups-nut.sh'
}
}
|