aboutsummaryrefslogtreecommitdiffstats
path: root/modules/puppet
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 19:44:24 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 19:44:24 +0000
commit5c313dfeb81977bb9ef6a17a257a47fee8998070 (patch)
treeff9274319410fbed5985c4c80144936ebe87481f /modules/puppet
parentc8b7727788f43f722beab657d4e0c9beb0b119f1 (diff)
downloadpuppet-5c313dfeb81977bb9ef6a17a257a47fee8998070.tar
puppet-5c313dfeb81977bb9ef6a17a257a47fee8998070.tar.gz
puppet-5c313dfeb81977bb9ef6a17a257a47fee8998070.tar.bz2
puppet-5c313dfeb81977bb9ef6a17a257a47fee8998070.tar.xz
puppet-5c313dfeb81977bb9ef6a17a257a47fee8998070.zip
fix some puppet-lint warning about symlink
Diffstat (limited to 'modules/puppet')
-rw-r--r--modules/puppet/manifests/hiera.pp6
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':