Puppet Class: psick::puppet::pdk

Defined in:
manifests/puppet/pdk.pp

Overview

Parameters:

  • ensure (Psick::Ensure) (defaults to: 'present')
  • auto_prereq (Boolean) (defaults to: $psick::auto_prereq)
  • 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/puppet/pdk.pp', line 2

class psick::puppet::pdk (
  Psick::Ensure $ensure = 'present',
  Boolean $auto_prereq             = $psick::auto_prereq,
  Boolean $manage                  = $psick::manage,
  Boolean $noop_manage             = $psick::noop_manage,
  Boolean $noop_value              = $psick::noop_value,
) {
  if $manage {
    if $noop_manage {
      noop($noop_value)
    }

    if $auto_prereq {
      include psick::ruby::buildgems
    }

    package { 'pdk':
      ensure => $ensure,
    }
  }
}