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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/bUD_CitDYCAJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, Jul 20, 2012 at 9:31 AM, Mark Roggenkamp <mark.roggenkamp@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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Mark Roggenkamp
2012-Jul-21 03:32 UTC
Re: [Puppet Users] rspec-puppet and create_resources
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 On Friday, July 20, 2012 2:38:06 PM UTC-4, Jeff McCune wrote:> > On Fri, Jul 20, 2012 at 9:31 AM, Mark Roggenkamp < > mark.roggenkamp@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 >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/8KuWlFWXfeEJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.