Hi,

Using :
puppet-3.7.5-1.el6.noarch
puppetserver-1.0.2-1.el6.noarch
facter-2.4.1-1.el6.x86_64

And with this in my puppetserver's puppet.conf :
    parser = future
    stringify_facts = false

I still get this error :
Error: Comparison of: String > Integer, is not possible. Caused by 'A
String is not comparable to a non String'.

With the following code :

if ( $::processorcount > 16 ) { ... }

When running 'facter -j', I don't see any double quotes surrounding the
value of that fact, which leads me to believe that it should be
possible and correct to get it as a number instead of a string :

  "mtu_eth0": 1500,
  "operatingsystemrelease": "6.6",
  "swapsize_mb": "4032.00",
  "processorcount": 8,

Is this a known limitation? Am I doing something wrong?

Matthias

-- 
            Matthias Saou                  ██          ██
                                             ██      ██
Web: http://matthias.saou.eu/              ██████████████
Mail/XMPP:  [email protected]             ████  ██████  ████
                                       ██████████████████████
GPG: 4096R/E755CC63                    ██  ██████████████  ██
     8D91 7E2E F048 9C9C 46AF          ██  ██          ██  ██
     21A9 7A51 7B82 E755 CC63                ████  ████

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20150416110228.245b5c96%40r2d2.marmotte.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to