Ask Your Question
0

Error 400 on server: You need rubygems to use Hiera [closed]

asked 2013-11-11 10:03:59 -0600

alexscott gravatar image

Need help using Hiera with puppet3. Puppet agent returns :

"err: Could not retrieve catalog from remote server: Error 400 on SERVER: You need rubygems to use Hiera ..."

hiera.yaml

---
:backends: 
 - yaml
:logger: console
:hierarchy: 
 - "%{env}/%{calling_module}"
:yaml:
 :datadir: /etc/puppet/hieradata

I believe the errors come from the "require 'rubygems'" in hiera.rb. How to I fix this error? thank you.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by alexscott
close date 2013-11-28 09:33:34.939889

Comments

Using: Ruby 1.9.3p194 Facter 1.7.3 Hiera 1.2.1

alexscott gravatar imagealexscott ( 2013-11-11 10:52:33 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-11-18 13:40:34 -0600

rjc gravatar image

You simply need to install rubygems.

edit flag offensive delete link more
0

answered 2013-11-19 02:56:15 -0600

I assume you are running Debian stable or testing. apt-get install rubygems

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-11-11 10:03:59 -0600

Seen: 315 times

Last updated: Nov 19 '13