[Pkg-puppet-devel] Bug#513314: comparison of Fixnum with String failed

Jayen Ashar jayen at science.unsw.edu.au
Wed Jan 28 03:32:30 UTC 2009


Package: puppetmaster
Version: 0.24.6-1
Severity: normal

the puppet classifer spits out this as part of its yaml:
---
classes:
  - debian_etch
parameters:
  stage: 0

the manifest contains:
  if $stage <= 0 {

the error message i get is:
err: Could not retrieve catalog: comparison of Fixnum with String failed at /etc/puppet/manifests/classes/debian_etch.pp:16 on node matht403.maths.unsw.edu.au

I also tried '$stage <= "0"', but got the same error.  Any way I can
force both to be Fixnums?  Or both to be Strings?

Thanks,
Jayen

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-686-bigmem
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)





More information about the Pkg-puppet-devel mailing list