/[adm]/puppet/modules/puppet/manifests/hiera.pp
ViewVC logotype

Contents of /puppet/modules/puppet/manifests/hiera.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2634 - (show annotations) (download)
Mon Mar 19 19:44:24 2012 UTC (12 years, 1 month ago) by misc
File size: 636 byte(s)
fix some puppet-lint warning about symlink
1 class puppet::hiera {
2 package { ['ruby-hiera','ruby-hiera-puppet']: }
3
4 # ugly, remove once hiera is either fixed or integrated to puppet
5 file { '/etc/puppet/external/hiera':
6 ensure => link,
7 target => '/usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/',
8 require => Package['ruby-hiera-puppet'],
9 }
10
11 # ease the use fo the command line tool
12 # who use a different location for the config file
13 file { '/etc/hiera.yaml':
14 ensure => link,
15 target => '/etc/puppet/hiera.yaml',
16 }
17
18 file { '/etc/puppet/hiera.yaml':
19 content => template('puppet/hiera.yaml'),
20 }
21 }

  ViewVC Help
Powered by ViewVC 1.1.30