Puppet Class: librenms::applications::ntp_client
- Inherits:
- librenms::params
- Defined in:
- manifests/applications/ntp_client.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'manifests/applications/ntp_client.pp', line 1
class librenms::applications::ntp_client (
Boolean $enabled = true,
) inherits librenms::params {
if $enabled {
$file_existance = 'present'
} else {
$file_existance = 'absent'
}
create_resources(librenms::fetch, {
'ntp-client' => {
use => $enabled,
}})
librenms::snmpd{'ntp-client':
use => $enabled,
script => 'ntp-client'
}
}
|