Puppet 3.4.2 with latest version of Hiera and Facter on OS X Mavericks

204 views
Skip to first unread message

Hesan Yousif

unread,
Jan 23, 2014, 9:29:11 AM1/23/14
to puppet...@googlegroups.com
Hi guys,

I know this is covered in here: 


But I am still having trouble getting puppet to run the simplest command;

sudo puppet resource group puppet ensure=present

It looks like it's because of the wrong symlink as reported in the links above OR something wrong with the fact that puppet is trying to run with ruby v2.1.0 as the error returned by running the above is:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- facter (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Library/Ruby/Site/puppet.rb:6:in `<top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Library/Ruby/Site/puppet/util/command_line.rb:12:in `<top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /usr/bin/puppet:3:in `<main>'

Current version of ruby is 2.0.0p247 and RVM is using system ruby.

Can anyone shed light on what I need to do? Build from source? Download earlier versions of puppet?

Help please!

Thanks in advance,
Hesan


Hesan Yousif

unread,
Jan 23, 2014, 9:46:36 AM1/23/14
to puppet...@googlegroups.com
Sorry meant to say running with Ruby v2.0

Moses Mendoza

unread,
Jan 23, 2014, 11:55:35 AM1/23/14
to puppet...@googlegroups.com
Hi Hesan,

The code for Mavericks support in facter will be in Facter 1.7.5,
which has not yet been officially released. However, this version is
in release candidate (1.7.5-rc1). See the release announcement here:
https://groups.google.com/forum/#!topic/puppet-users/wUwBVVJLayA. If
you want to give the Release Candidate a try, download the mac package
here: http://downloads.puppetlabs.com/mac/facter-1.7.5-rc1.dmg.
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/9f6924b7-f825-4d4c-a97d-4dbe4930cdd3%40googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.



--
Moses Mendoza
Puppet Labs

Join us at PuppetConf 2014, September 23-24 in San Francisco
Reply all
Reply to author
Forward
0 new messages