diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/puppet/manifests/hiera.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/puppet/manifests/hiera.pp b/modules/puppet/manifests/hiera.pp index 10a0299d..8b692316 100644 --- a/modules/puppet/manifests/hiera.pp +++ b/modules/puppet/manifests/hiera.pp @@ -3,14 +3,16 @@ class puppet::hiera { # ugly, remove once hiera is either fixed or integrated to puppet file { '/etc/puppet/external/hiera': - ensure => '/usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/', + ensure => link, + target => '/usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/', require => Package['ruby-hiera-puppet'], } # ease the use fo the command line tool # who use a different location for the config file file { '/etc/hiera.yaml': - ensure => '/etc/puppet/hiera.yaml', + ensure => link, + target => '/etc/puppet/hiera.yaml', } file { '/etc/puppet/hiera.yaml': |