Puppet Class: librenms::applications::raspberry_pi

Inherits:
librenms::params
Defined in:
manifests/applications/raspberry_pi.pp

Overview

Parameters:

  • enabled (Boolean) (defaults to: true)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/applications/raspberry_pi.pp', line 1

class librenms::applications::raspberry_pi (
  Boolean $enabled = true,
) inherits librenms::params {

    create_resources(librenms::fetch, {
            'raspberry.sh' => {
            use => $enabled,
    }})

    librenms::snmpd{'raspberry':
        use     => $enabled,
        script  => 'raspberry.sh',
        do_sudo => true
    }
}