Puppet Class: librenms::applications::apache2
- Inherits:
- librenms::params
- Defined in:
- manifests/applications/apache2.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'manifests/applications/apache2.pp', line 1
class librenms::applications::apache2 (
Boolean $enabled = true,
) inherits librenms::params {
ensure_packages([$librenms::params::python3_urllib3_package], {ensure => present})
create_resources(librenms::fetch, {
'apache-stats.py' => {
use => $enabled,
}})
librenms::snmpd{'apache':
use => $enabled,
filename => 'apache2',
script => 'apache-stats.py'
}
}
|