On 2014-04-02 11:02, DjE wrote:
> The issue (-d does not provide more informations) :
> facter -p
> undefined method `puppetversion' for Facter:Module

Something like this can also happen when you have a custom fact (or
function?) that calls the Facter API in a now defunct way. For example,
we had this in a custom fact:

if Facter.puppetversion.to_i >= 3
...

Which had to be replaced with this (works in Facter < 2.0.1, too):

if Facter.value(:puppetversion).to_i >= 3
...

This was kindly pointed out to me and fixed by Dominic Cleal in #puppet.

Andreas

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to