jenkinsci/infra-puppet — pull request #37 by arioch (2012-03-28 11:42:54+00:00)
Title: Dependency fix for hiera-gpg

During a puppet run (vagrant provision) the following error would show up:

err: /Stage[main]/Packages::Hiera/Package[hiera-gpg]/ensure: change from absent to present failed: Execution of '/usr/bin/gem install --include-dependencies --no-rdoc --no-ri hiera-gpg' returned 1: ERROR: Error installing hiera-gpg:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1

Gem files will remain installed in /var/lib/gems/1.8/gems/gpgme-2.0.0 for inspection.
Results logged to /var/lib/gems/1.8/gems/gpgme-2.0.0/ext/gpgme/gem_make.out
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Building native extensions. This could take a while...

This has been resolved by installing a missing dependency: ruby1.8-dev.