Puppet Class: krb5::kdc::install

Inherits:
krb5::kdc
Defined in:
manifests/kdc/install.pp

Summary

Install the krb5kdc packages

Overview

**NOTE: THIS IS A [PRIVATE](github.com/puppetlabs/puppetlabs-stdlib#assert_private) CLASS**

Parameters:

  • ensure (String) (defaults to: simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' }))

    The package state to ensure

    • Accepts all valid options for the “Package“ resource’s “ensure“ parameter

Author:

  • Trevor Vaughan <tvaughan@onyxpoint.com>



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'manifests/kdc/install.pp', line 13

class krb5::kdc::install (
  String $ensure = simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' }),
) inherits krb5::kdc {

  assert_private()

  package { 'krb5-server':
    ensure => $ensure
  }

  if $krb5::kdc::ldap {
    package { 'krb5-server-ldap':
      ensure => $ensure
    }
  }
}