/[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 2441 - (show annotations) (download)
Sat Feb 18 18:59:54 2012 UTC (12 years, 2 months ago) by misc
File size: 587 byte(s)
deploy hiera configuration file
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 => '/usr/lib/ruby/gems/1.8/gems/hiera-puppet-0.3.0/',
7 require => Package['ruby-hiera-puppet'],
8 }
9
10 # ease the use fo the command line tool
11 # who use a different location for the config file
12 file { '/etc/hiera.yaml':
13 ensure => '/etc/puppet/hiera.yaml',
14 }
15
16 file { '/etc/puppet/hiera.yaml':
17 content => template('puppet/hiera.yaml'),
18 }
19 }

  ViewVC Help
Powered by ViewVC 1.1.30