Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 489868

Summary: app-admin/puppet - missing gem rgen dependecy when using parser = future
Product: Gentoo Linux Reporter: Krzysztof Tomczyk <ktomczyk>
Component: [OLD] ServerAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal CC: ruby, sysadmin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Krzysztof Tomczyk 2013-10-30 12:34:00 UTC
After installation when I try to use configuration option:
parser = future 
I get an error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: The gem 'rgen' version >= 0.6.1 is required when using the setting '--parser future'. Please install 'rgen'

So what I need to do is to manually install gem rgen and after that it works.
I think that it should be someway added to ebuild. Maybe as a new use-flag parser-future or just as  hard dependency?

Reproducible: Always

Steps to Reproduce:
1.Install puppet
2. Set in configuration file (puppet.conf) option: parser = future

Actual Results:  
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: The gem 'rgen' version >= 0.6.1 is required when using the setting '--parser future'. Please install 'rgen'

Expected Results:  
It should work wothout any problems
Comment 1 Hans de Graaff gentoo-dev Security 2013-10-31 06:53:51 UTC
e.puppet seems ambiguous about this dependency. The upstream gemspec does not list it, but the actual metadata as published by rubygems.org does include it.

In any case I've just added dev-ruby/rgen to the tree.
Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2013-11-07 20:00:43 UTC
One of my work colleagues raised the same issue upstream today, they are going to fix the gemspec (if they haven't already), thus we need to add the dependency
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-02-18 04:01:03 UTC
fixed in 3.4.2-r2