Puppet Class: psick::aws::puppet

Defined in:
manifests/aws/puppet.pp

Overview

Parameters:

  • ensure (String) (defaults to: 'present')
  • region (String) (defaults to: $psick::aws::region)
  • install_modules (Array) (defaults to: ['puppetlabs/aws' , 'example42/psick'])
  • module_user (String) (defaults to: 'root')
  • manage (Boolean) (defaults to: $psick::manage)
  • noop_manage (Boolean) (defaults to: $psick::noop_manage)
  • noop_value (Boolean) (defaults to: $psick::noop_value)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/aws/puppet.pp', line 2

class psick::aws::puppet (
  String $ensure                = 'present',
  String $region                = $psick::aws::region,
  Array $install_modules        = ['puppetlabs/aws' , 'example42/psick'],
  String $module_user           = 'root',

  Boolean          $manage               = $psick::manage,
  Boolean          $noop_manage          = $psick::noop_manage,
  Boolean          $noop_value           = $psick::noop_value,
) {
  if $manage {
    if $noop_manage {
      noop($noop_value)
    }
    $install_modules.each | $mod | {
      psick::puppet::module { $mod:
        user   => $module_user,
      }
    }
  }
}