Puppet Class: librenms::applications::postgres
- Inherits:
- librenms::params
- Defined in:
- manifests/applications/postgres.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/applications/postgres.pp', line 1
class librenms::applications::postgres (
Boolean $enabled = true,
) inherits librenms::params {
create_resources(librenms::fetch, {
'postgres' => {
use => $enabled,
}})
librenms::fetch{'check_postgres.pl':
use => $enabled,
base_url => 'https://raw.githubusercontent.com/bucardo/check_postgres/master',
}
librenms::snmpd{'postgres':
use => $enabled,
script => 'postgres'
}
}
|