天天看點

undefined method `get_arp_value' for Facter::Util::IP:Module

puppet版本:3.6.1

puppetmaster上執行facter的時候,總是有提示:

Could not retrieve fact='arp_eth0', resolution='<anonymous>': undefined method `get_arp_value' for Facter::Util::IP:Module

解決辦法:vim /usr/lib/ruby/site_ruby/1.8/facter/util/ip.rb

#加入以下内容:

重新開機puppetmaster.再次執行facter,問題解決!

本文轉自 zhangzj1030 51CTO部落格,原文連結:http://blog.51cto.com/tech110/1424713