Puppet Class: mosquitto::install

Defined in:
manifests/install.pp

Summary

Install mosquitto

Overview

Parameters:

  • manage_package (Boolean) (defaults to: $mosquitto::manage_package)
  • ensure (Enum['latest', 'absent', 'present']) (defaults to: $mosquitto::package_ensure)
  • package_name (String[1]) (defaults to: $mosquitto::package_name)

Author:

  • Tim Meusel <tim@bastelfreak.de>



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

class mosquitto::install (
  Boolean $manage_package = $mosquitto::manage_package,
  Enum['latest', 'absent', 'present'] $ensure = $mosquitto::package_ensure,
  String[1] $package_name = $mosquitto::package_name,
) {
  assert_private()

  if $manage_package {
    package { 'mosquitto':
      ensure => $ensure,
      name   => $package_name,
    }
  }
}