I found ruby-facter-1.6.17 on AUR and `facter ipaddress` still does not work. (I have NO ruby experience) I looked at the facter.rb file and it seems to import the util/ip file and I think those use the /sbin/ip
What could be the problem? On Tuesday, 1 January 2013 02:28:58 UTC+2, Jared Curtis wrote: > > Facter 1.6.17 has a fix for the ip address issue for distros that use > newer versions of net-tools. > > On Monday, December 31, 2012 1:55:49 AM UTC-8, Mandla Mbuli wrote: >> >> >> Im considering just continue working on the tutorial, hopefully this gets >> sorted by the time I need it. >> I tried merging (https://github.com/Elwell/facter.git ifconfig_refactor >> into a clone >> https://github.com/puppetlabs/facter.git master and fixed the merge >> conflict. I then tried >> installing and this need ruby knowledge and I have 0 ruby knowledge. >> >> Quick guess I did 'gem build facter.gemspec' then 'gem install >> facter-1.6.11.gem' then tried >> 'facter ipaddress' and I get an error: >> >> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot >> load such file -- facter/application (LoadError) >> from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in >> `require' >> from /usr/bin/facter:69:in `<main>' >> >> Should I just wait for the pull to be merged into the puppet branch? >> >> On Monday, 31 December 2012 01:51:34 UTC+2, Ashley Penney wrote: >>> >>> On Sun, Dec 30, 2012 at 12:08 PM, Mandla Mbuli <lm.m...@gmail.com>wrote: >>> >>>> >>>> Hi >>>> >>>> I am running a version 'facterversion => 2.0.0-rc4' do you know if this >>>> uses /sbin/ip? >>>> does it adapt for ArchLinux which uses puts it in /usr/sbin/ip (judgin >>>> from `which ip`) >>>> `facter ipaddress` and `facter fqdn` don't work for me. I don't know >>>> how to troubleshoot. >>>> I just started really reading/playing about puppet today. >>>> >>>> I also tried the latest version available from rubygems and it still >>>> can't find the ipadress >>>> or fqdn. >>>> >>>> What could be the possible problems? >>>> >>> >>> The pull request hasn't been merged so I believe it still only uses >>> ifconfig. You'll have to either find a way to install that on arch or try >>> and manually merge the pull request in I'm afraid! >>> >> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/B56NoOuuesQJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.