Hi Felix,
I think I have this sorted now with the log level stuff that denmat suggested.
Basically it was a typo in my test but my point was I could not get to see the catalogue that my test was testing against.
Puppet file:
concat::fragment{'foo':
path => '/etc/foo',
content => 'set some values',
}
Test file:
should contain_concat__fragment("foo")
The first time I ran it I missed the double underscore in the test. But there was no way that I could see if my catalogue contained that fragment.
But by adding the logging stuff above I can now see all the parts of the catalogue and how it's built and so debug the problem quicker. Shame there is not a simple flag to turn this on for failing tests though.
john