rspec-puppet and create_resources

217 views
Skip to first unread message

Mark Roggenkamp

unread,
Jul 20, 2012, 12:31:02 PM7/20/12
to puppet...@googlegroups.com
Using rspec-puppet should I be able to check for resources created as a result of a create_resources call within a class?

Regards,
Mark

Jeff McCune

unread,
Jul 20, 2012, 2:38:06 PM7/20/12
to puppet...@googlegroups.com
On Fri, Jul 20, 2012 at 9:31 AM, Mark Roggenkamp <mark.ro...@gmail.com> wrote:
Using rspec-puppet should I be able to check for resources created as a result of a create_resources call within a class?

Yes, any resource in the catalog should work with rspec-puppet.

-Jeff 

Mark Roggenkamp

unread,
Jul 20, 2012, 11:32:34 PM7/20/12
to puppet...@googlegroups.com
Thx. That helped me stay on course while troubleshooting a test failure. I hadn't reached the 'trust what the test is telling you' stage yet. :) 

Mark
Reply all
Reply to author
Forward
0 new messages