On Apr 23, 5:49 pm, Tim Sharpe <t...@sharpe.id.au> wrote: > So, rspec-puppet can't and won't ever work this way. What it's testing is > the resulting catalogue of Puppet resources that your host executes (the > behaviour of Puppet). Instead of testing that a variable is defined, you > should be testing the resource(s) that those variables control/adjust. > > For example, if your variable changes the templated contents of a file > resource, then you should be testing the contents of that file resource. >
Thanks for the details Tim. That's helpful. -- Shantanu -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.