Puppet Class: packetbeat::package

Inherited by:
packetbeat::package::rpm
packetbeat::package::dpkg
Defined in:
manifests/package.pp

Overview

Parameters:

  • version (Any) (defaults to: '1.0.0~Beta1')


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

class packetbeat::package ($version = '1.0.0~Beta1'){
  include ::wget

  case $::osfamily {

    'Debian': {
      class { 'packetbeat::package::dpkg': }
    }

    'RedHat': {
      class { 'packetbeat::package::rpm': }
    }

    default: { fail("${::osfamily} not supported yet") }

  }
}