Unrelated, but if there are unit test gurus about:...
# puppet
g
Unrelated, but if there are unit test gurus about: help, how the hell do I make exported resources work properly in my unit tests? The parser sees exported resources as duplicates of normal resources even if they haven't been realized on the test host, so I can't just toss a dummy into
let(:pre_condition)
in this case. But exported resource collectors also don't get evaluated during catalog compilation for the tests, so if I don't include a dummy, I just get errors about the resource not being declared!