More updates found just after posting this (why do all the useful links 
appear only after posting questions, despite digging for them for hours 
before asking??):

"Known Bugs" lists that ruby-augeas is broken (and another link mentions 
that it haven't been touched since 2013 and might be abandoned):

https://github.com/berndmweber/open-source-puppet-master/blob/master/modules/puppet/README.md


On Friday, 22 April 2016 14:23:10 UTC+10, Amos Shapira wrote:
>
> Hello,
>
> I'm working on automating of OS X vmware build using Puppet.
>
> I use Packer to build the base image (based on excellent work done in 
> https://github.com/timsutton/osx-vm-templates) and take the opportunity 
> to pre-install Puppet, Homebrew and gems used by Puppet itself like hiera, 
> hiera-eyaml, and augeas.
>
> The trouble is that although 'augeas' gets installed by Homebrew just 
> fine, the 'ruby-augeas' gem fails with an error "extconf.rb:27:in 
> `<main>': augeas-devel not installed (RuntimeError)":
>
> *# gem install --verbose --no-ri --no-rdoc ruby-augeas*
> *HEAD https://rubygems.org/latest_specs.4.8.gz 
> <https://rubygems.org/latest_specs.4.8.gz>*
> *302 Moved Temporarily*
> *HEAD https://rubygems.global.ssl.fastly.net/latest_specs.4.8.gz 
> <https://rubygems.global.ssl.fastly.net/latest_specs.4.8.gz>*
> *304 Not Modified*
> *GET https://rubygems.org/quick/Marshal.4.8/ruby-augeas-0.5.0.gemspec.rz 
> <https://rubygems.org/quick/Marshal.4.8/ruby-augeas-0.5.0.gemspec.rz>*
> *302 Moved Temporarily*
> *GET 
> https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/ruby-augeas-0.5.0.gemspec.rz
>  
> <https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/ruby-augeas-0.5.0.gemspec.rz>*
> *200 OK*
> *Installing gem ruby-augeas-0.5.0*
> *Downloading gem ruby-augeas-0.5.0.gem*
> *GET https://rubygems.org/gems/ruby-augeas-0.5.0.gem 
> <https://rubygems.org/gems/ruby-augeas-0.5.0.gem>*
> *302 Moved Temporarily*
> *GET https://rubygems.global.ssl.fastly.net/gems/ruby-augeas-0.5.0.gem 
> <https://rubygems.global.ssl.fastly.net/gems/ruby-augeas-0.5.0.gem>*
> *Fetching: ruby-augeas-0.5.0.gem (100%)*
> *200 OK*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/Rakefile*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/COPYING*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/README.rdoc*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/NEWS*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/ext/augeas/_augeas.c*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/ext/augeas/_augeas.h*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/lib/augeas.rb*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/ext/augeas/extconf.rb*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/root/etc/group*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/root/etc/hosts*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/root/etc/inittab*
>
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/root/etc/ssh/sshd_config*
> */Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/tests/tc_augeas.rb*
> *Building native extensions.  This could take a while...*
> */System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby 
> extconf.rb*
> **** extconf.rb failed ****
> *Could not create Makefile due to some reason, probably lack of necessary*
> *libraries and/or headers.  Check the mkmf.log file for more details.  You 
> may*
> *need configuration options.*
>
> *Provided configuration options:*
> * --with-opt-dir*
> * --without-opt-dir*
> * --with-opt-include*
> * --without-opt-include=${opt-dir}/include*
> * --with-opt-lib*
> * --without-opt-lib=${opt-dir}/lib*
> * --with-make-prog*
> * --without-make-prog*
> * --srcdir=.*
> * --curdir*
> * 
> --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby*
> * --with-augeas-config*
> * --without-augeas-config*
> * --with-pkg-config*
> * --without-pkg-config*
> *extconf.rb:27:in `<main>': augeas-devel not installed (RuntimeError)*
> *ERROR:  Error installing ruby-augeas:*
> * ERROR: Failed to build gem native extension.*
>
> *    Building has failed. See above output for more information on the 
> failure.*
>
> *Gem files will remain installed in 
> /Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0 for inspection.*
> *Results logged to 
> /Library/Ruby/Gems/2.0.0/gems/ruby-augeas-0.5.0/ext/augeas/gem_make.out*
>
> As much as I researched, I couldn't find any information about this error 
> for OSX, only a few mentions about old Ubuntu (10.04) and RedHat. Does 
> anyone know how to make it work?
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/920a0de5-3106-4bbc-b192-a114aba43cc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to