Puppet Function: psick::ensure2dir

Defined in:
functions/ensure2dir.pp
Function type:
Puppet Language

Overview

psick::ensure2dir(Psick::Ensure $ensure = 'present')Any

Parameters:

  • ensure (Psick::Ensure) (defaults to: 'present')

Returns:

  • (Any)


1
2
3
4
5
6
7
8
9
# File 'functions/ensure2dir.pp', line 1

function psick::ensure2dir (
  Psick::Ensure $ensure = 'present',
) {
  $output = $ensure ? {
    'absent'  => absent,
    false     => absent,
    default   => 'directory',
  }
}