简体   繁体   中英

Getting this below error while running puppet agent -t?

I am getting this error every time I ran puppet agent -t on the agent.

Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/ipaddresses.rb: cannot load such file -- facter/util/ip

Can anyone help me in resolving this error?

I have tried various solutions but nothing seems to be working. Like installing gems package etc. Puppet version I am ones 5.5.2

Are you calling/storing the file from the correct directory?

Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/ipaddresses.rb:

The file ipaddresses.rb seems to be in folder 'facter', however, in the error you have a path facter/util/ip.

'Util' folder is within the 'Facter' folder, so you might have an incorrect path hence why the agent run is failing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM