[Bug 1246229] [NEW] Error: Puppet::Parser::AST::Resource failed with error TypeError: no implicit conversion from nil to integer at ...

Hadmut Danisch hadmut at danisch.de
Wed Oct 30 09:18:35 UTC 2013


Public bug reported:

Hi,

since upgrading to saucy puppet has a particular bug.

When I have a class with default parameters , e.g.

class something($filename="blabla"){
...
}

and do use the class without giving a parameter value (that's the idea
of default parameters), puppet aborts with

Error: Puppet::Parser::AST::Resource failed with error TypeError: no
implicit conversion from nil to integer at
/etc/puppet/manifests/site.pp:5 on node pcdanisch

regards

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: puppet-common 3.2.4-2ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Wed Oct 30 10:14:44 2013
InstallationDate: Installed on 2013-04-29 (183 days ago)
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: puppet
UpgradeStatus: Upgraded to saucy on 2013-10-25 (5 days ago)
modified.conffile..etc.puppet.puppet.conf: [modified]
mtime.conffile..etc.puppet.puppet.conf: 2013-10-25T11:48:58.488146

** Affects: puppet (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/1246229

Title:
  Error: Puppet::Parser::AST::Resource failed with error TypeError: no
  implicit conversion from nil to integer at ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1246229/+subscriptions



More information about the Ubuntu-server-bugs mailing list