Puppet Class: profile::diffscan

Defined in:
modules/profile/manifests/diffscan.pp

Overview

Class: diffscan

This class installs & manages diffscan, an nmap wrapper for differential port scans. See github.com/ameihm0912/diffscan2

Parameters

ipranges

The list of IP/masks to scan. See nmap doc for accepted formats.

emailto

Diff emails recipient. Defaults to “root”.

groupname

An identifier to distinguish between several instances. Defaults to “diffscan”.

Parameters:

  • ipranges (Any) (defaults to: hiera('profile::diffscan::ipranges'))
  • emailto (Any) (defaults to: hiera('profile::diffscan::emailto'))
  • groupname (Any) (defaults to: hiera('profile::diffscan::groupname'))


19
20
21
22
23
24
25
26
27
28
29
# File 'modules/profile/manifests/diffscan.pp', line 19

class profile::diffscan(
  $ipranges=hiera('profile::diffscan::ipranges'),
  $emailto=hiera('profile::diffscan::emailto'),
  $groupname=hiera('profile::diffscan::groupname'),
) {
    class { '::diffscan':
        ipranges  => $ipranges,
        emailto   => $emailto,
        groupname => $groupname,
    }
}