Can anyone tell me what this means?

puppetd --test
notice: Ignoring cache
err: Could not retrieve configuration: return can't jump across
threads at /var/puppet/modules/atg/manifests/init.pp:298 on node

On that line, I call this custom function:

module Puppet::Parser::Functions

  require 'inifile'

  newfunction(:awi_ports, :type=>:rvalue) do |args|
    type   = args[0]
    server = args[1]
    ini = IniFile::new( )
    ini.load("/var/puppet/modules/atg/manifests/ports.conf")

    if ini[type].nil? == true
      return -1
    end

    ini[type].each { |k, v|
      if k==server
        return v
      else
        return -1
      end
    }
  end
end

TIA,
Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to