Ask Your Question
0

Classes cannot be collected

asked 2014-10-21 03:34:42 -0500

Mikhail Shevtsov gravatar image

Good day.

When I try to create a class (let's say wrapper class around some module) and I try to override default values in subclass using "Spaceship Operator" like it's described here: https://github.com/jfryman/puppet-ngi... I'm getting following error: "Classes cannot be collected". Trying to debug deeper in master server didn't reveal any hints... Just same error.

Is this a bug? Should I create a ticket?

Thanks, Mikhail.

P.S. I'm using Foreman.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-21 21:09:47 -0500

cbarbour gravatar image

updated 2014-10-21 21:11:06 -0500

This is the bug in the NginX module documentation. The recommendation clearly contradicts Puppet Labs' documentation on resource collectors.

https://docs.puppetlabs.com/puppet/la...

As an asside, Foreman is 100% compatible with Hiera. I'd encourage you to use Hiera's automatic parameter lookup capabilities; it can help make your code much more portable and testable.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-10-21 03:34:42 -0500

Seen: 269 times

Last updated: Oct 21 '14