Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

ruby / jruby : cannot see mysql file

$
0
0
Hi Guys,

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Internal Server Error: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- mysql but rpm -qa|grep -i mysql ruby-mysql-2.8.2-1.el6.x86_64 so why do I get his error?
Chris

client puppet 3.3.1; puppet 4.8.0, puppetserver 2.7.0

Updated 14 Dec:
So i had to leave this one for a while and do some other modules, but I'm back

It appears we have 2 modules that use require "mysql" in .erb files to enable us to write ruby fns and use them. puppetserver gem list says *** LOCAL GEMS *** fast_gettext (1.1.0) gettext (3.2.2) gettext-setup (0.6) hocon (1.1.3) jar-dependencies (0.2.6) jruby-openssl (0.9.16 java) json (1.8.0 java) locale (2.1.2) rake (10.1.0) rdoc (4.1.2) semantic_puppet (0.1.3) text (1.3.1) I assume I need to install something, but I really need to know exactly what/how and also do it indirectly, as the systems in qn cannot reach the internet.
HTH


Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>