Ask Your Question

Classes cannot be collected

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

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

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

cbarbour gravatar image

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

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

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


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

Seen: 304 times

Last updated: Oct 21 '14