3 |
|
|
4 |
# ugly, remove once hiera is either fixed or integrated to puppet |
# ugly, remove once hiera is either fixed or integrated to puppet |
5 |
file { '/etc/puppet/external/hiera': |
file { '/etc/puppet/external/hiera': |
6 |
ensure => '/usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/', |
ensure => link, |
7 |
|
target => '/usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/', |
8 |
require => Package['ruby-hiera-puppet'], |
require => Package['ruby-hiera-puppet'], |
9 |
} |
} |
10 |
|
|
11 |
# ease the use fo the command line tool |
# ease the use fo the command line tool |
12 |
# who use a different location for the config file |
# who use a different location for the config file |
13 |
file { '/etc/hiera.yaml': |
file { '/etc/hiera.yaml': |
14 |
ensure => '/etc/puppet/hiera.yaml', |
ensure => link, |
15 |
|
target => '/etc/puppet/hiera.yaml', |
16 |
} |
} |
17 |
|
|
18 |
file { '/etc/puppet/hiera.yaml': |
file { '/etc/puppet/hiera.yaml': |