Could not retrieve local facts: undefined method `require_relative' for main:Object

213 views
Skip to first unread message

Helen Paterson

unread,
May 17, 2017, 10:34:01 AM5/17/17
to Puppet Users
Hi,

im currently getting the following error on a few of my Ubuntu solr servers

Error: Could not retrieve local facts: undefined method `require_relative' for main:Object
Error: Failed to apply catalog: Could not retrieve local facts: undefined method `require_relative' for main:Object


we are running puppet agent 3.8 , im not sure how to debug ???


Thanks 

Helen

R.I.Pienaar

unread,
May 17, 2017, 11:24:32 AM5/17/17
to puppet...@googlegroups.com
I would guess your ruby is too old for one of your facts,
require_relative is a ruby method that came in recently.

Helen Paterson

unread,
May 18, 2017, 4:44:24 AM5/18/17
to Puppet Users
thank you

I see that this only fails on my Ubuntu 12 servers with ruby 1.8 and is fine on Ubuntu 14 ruby 1.9. i believe this happened after a college upgraded stlib

Johan De Wit

unread,
May 18, 2017, 7:39:07 AM5/18/17
to puppet...@googlegroups.com

require_relative is introduce in ruby 1.9.

It does not exists in ruby 1.8



--
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/2147a9a2-16f7-483a-aee6-0b8bf5e423d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages