Puppet Class: puppet::hiera

Defined in:
manifests/hiera.pp

Overview

Class: puppet::hiera

Manages the hiera configuration



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'manifests/hiera.pp', line 5

class puppet::hiera {

  assert_private()

  if $::puppet::hiera {

    file { '/etc/puppetlabs/puppet/hiera.yaml':
      ensure  => file,
      owner   => 'root',
      group   => 'root',
      mode    => '0644',
      content => $::puppet::hiera,
    }

  }

}