
So I found this awesome piece of information about debugging rspec-puppet, and particularly this block of code:<br></br>File.write(<br></br>'myclass.json',<br></br>PSON.pretty_generate(catalogue)<br></br>)<br></br>
This is INCREDIBLY useful for debugging.
In fact, I found, by using this, that when testing defined type parameters, they are all lowercased. Even when the parameters SHOULD have camel-casing etc…
Be aware, this annoyed the heck out of me and my team.