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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2633 by misc, Sat Feb 18 18:59:54 2012 UTC revision 2634 by misc, Mon Mar 19 19:44:24 2012 UTC
# Line 3  class puppet::hiera { Line 3  class puppet::hiera {
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':

Legend:
Removed from v.2633  
changed lines
  Added in v.2634

  ViewVC Help
Powered by ViewVC 1.1.28