Skip to content

Commit

Permalink
Merge pull request #18 from stjeanp/production
Browse files Browse the repository at this point in the history
Fixed code so hunner/hiera can be pulled from forge
  • Loading branch information
natemccurdy committed Mar 15, 2016
2 parents 4de1ccc + 7f967d1 commit d250d97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
5 changes: 1 addition & 4 deletions Puppetfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ forge "http://forge.puppetlabs.com"
# Modules from the Puppet Forge
# Note the versions are all set to :latest but after you've
# installed you should change them to the exact version you want
mod "hunner/hiera", '2.0.1'
mod "puppetlabs/inifile", :latest
mod "puppetlabs/stdlib", :latest
mod "puppetlabs/concat", :latest
Expand All @@ -19,10 +20,6 @@ mod "puppetlabs/java", '1.4.1'
# Modules from Github using various references
# Further examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples
# update the tag to the most current release when implementing
mod 'hiera',
:git => 'https://github.com/hunner/puppet-hiera',
:tag => '1.3.1'

mod 'gitlab',
:git => 'https://github.com/vshn/puppet-gitlab',
:ref => '00397b86dfb3487d9df768cbd3698d362132b5bf'
Expand Down
9 changes: 0 additions & 9 deletions site/profile/manifests/puppetmaster.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
notify => Service['pe-puppetserver'],
}

ini_setting { 'puppet.conf hiera_config main section' :
ensure => present,
path => "${::settings::confdir}/puppet.conf",
section => 'main',
setting => 'hiera_config',
value => $hiera_yaml,
notify => Service['pe-puppetserver'],
}

ini_setting { 'puppet.conf hiera_config master section' :
ensure => absent,
path => "${::settings::confdir}/puppet.conf",
Expand Down

0 comments on commit d250d97

Please sign in to comment.