Puppet Class: librenms::weathermap

Defined in:
manifests/weathermap.pp

Summary

Manages the Weathermap plugin for LibreNMS

Overview

Manages the Weathermap plugin for LibreNMS

Examples:

use main class


7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/weathermap.pp', line 7

class librenms::weathermap {
  if $librenms::weathermap_enabled {
    # Always use the latest branch
    vcsrepo { "${librenms::vcs_root_dir}/html/plugins/Weathermap":
      ensure   => 'latest',
      branch   => 'master',
      provider => 'git',
      source   => 'https://github.com/librenms-plugins/Weathermap.git',
      owner    => $librenms::librenms_owner,
      group    => $librenms::librenms_group,
      require  => Vcsrepo[$librenms::vcs_root_dir],
    }
  }
}