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

2014-01-07 Thread Launchpad Bug Tracker
[Expired for puppet (Ubuntu) because there has been no activity for 60
days.]

** Changed in: puppet (Ubuntu)
   Status: Incomplete = Expired

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2013-11-08 Thread Hadmut Danisch
I've found a reason on the first machine. Since I use parameterized
classes, puppet did not work without hiera (complains), although I had
not used it.

Since puppet with hiera complains about a missing
/etc/puppet/hiera.yaml, I've made an empty one. That's the problem.

Just writing --- into it solves the problem.

Now I have to check why I got the same error on the second machine...

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2013-11-08 Thread Robie Basak
Thanks. It's clear from your previous comment that there is something
going on and there may be a bug if we can pin down exact steps to
reproduce. Sorry I hadn't followed up on this yet. I appreciate you
investigating this further.

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2013-11-01 Thread Hadmut Danisch
I'v copied your testcase with copy and paste to
/etc/puppet/manifests/test.pp and run:

# puppet apply /etc/puppet/manifests/test.pp
Could not retrieve zpool_version: undefined method `captures' for nil:NilClass
Warning: Could not retrieve fact fqdn
Error: Puppet::Parser::AST::Resource failed with error TypeError: no implicit 
conversion from nil to integer at /etc/puppet/manifests/test.pp:5 on node 
pcdanisch
Error: Puppet::Parser::AST::Resource failed with error TypeError: no implicit 
conversion from nil to integer at /etc/puppet/manifests/test.pp:5 on node 
pcdanisch


Since this is a ruby error message, I've checked which ruby version
puppet runs:

/usr/bin/ruby - /etc/alternatives/ruby - /usr/bin/ruby1.9.1

Same with another machine that has been installed as 13.04 and upgraded
to 13.10. I don't have a freshly installed machine here right now, I
have to get at home to do so.

regards

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2013-11-01 Thread Hadmut Danisch
And, btw.,  ruby-hiera was installed on the first, but not on the second
machine. Both behave identically.

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2013-10-31 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make
Ubuntu better.

I could not reproduce this using the following test case:

---8---
class foo($content=abc) {
file { '/tmp/foo': content = $content; }
}

class {foo:}
---8---

My understanding of your bug as you described it is that this doesn't
work. But my example does appear to work on puppet 3.2.4-2ubuntu2 using
puppet apply.

Please provide exact instructions to reproduce your problem on a fresh
Saucy installation, and then change the bug status back to New. If you
cannot reproduce and decide that this isn't a bug after all, please
change the bug status to Invalid. Thanks!

** Changed in: puppet (Ubuntu)
   Status: New = Incomplete

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2013-10-31 Thread Robie Basak
(also note bug 1242363, which I can reproduce and requires apt-get
install ruby-hiera as a workaround until we fix this in Saucy; this is
required in my example and presumably yours too)

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs