Package: puppet-common
Version: 3.7.0-1

To be ready for puppet 4.0, I added

parser=future

to /etc/puppet/puppet.conf. Then I got this in the puppet master log:

Could not parse for environment production: The gem 'rgen' version >= 0.7.0 is 
required when using the setting '--parser future'. Please install 'rgen'. on 
node myclient

This is misleading for several reasons:

* It seems that I have to install rgen on the client (called "myclient" here).
* The user has to know that this "rgen" thing is ruby-speak and translate that 
to ruby-rgen.

After installing ruby-rgen on the client, as the message seemed to suggest, I 
got this error:

cannot load such file -- rgen/ecore/ecore

which is even more cryptic.


It would be nice if the message could be rewritten to be clearer, for
example:

 Could not parse for environment production:
 The gem 'rgen' version >= 0.7.0 is required when using the setting '--parser 
future'.
 Please install 'rgen' on the puppet master (Debian package "ruby-rgen")
 (Message triggered by a request from myclient)


Thanks.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to