rspec-puppet custom stages
We use custom stages in our puppet setup.
stage { ['custom1', 'custom2']: }
Stage['custom1'] -> Stage['main'] -> Stage['custom2']
This works fine in our daily operation
class { 'test1::test2': stage => custom2 }
When i use rspec-puppet to test the code I get the following message
could not find stage custom2 specified by Class[test1::test2]
Does anybody know where I can specify the stage?