Puppet Class: st2::packs

Inherits:
st2
Defined in:
manifests/packs.pp

Summary

Install and configure st2 packages in bulk and via Hiera.

Overview

Examples:

Basic Usage

class { 'st2::packs':
  packs => {
    puppet => {},
    influxdb => {
      config => {
        server => 'influxdb.domain.tld',
    },
  },
}

Created via Hiera

st2::packs:
  puppet: {}
  influxdb:
    config:
      server => 'influxdb.domain.tld'

Parameters:

  • packs (Any) (defaults to: $st2::packs)

See Also:

  • and st2::pack::config for usage


23
24
25
26
27
# File 'manifests/packs.pp', line 23

class st2::packs (
  $packs = $st2::packs,
) inherits st2 {
  create_resources('st2::pack', $packs)
}