RSpec question for all the helpful folks here: How do I test that there is no resource in the catalog that matches certain parameters?
I know how to test that a specific resource does not exist, or a specific resource does not match certain parameters. I want to test that, for example, there are no file resources with :ensure => directory set. Is this possible? Thanks in advance, - Johnson -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/89c69357-d468-47ec-80ca-50f847a24a24%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.