Hi all, Firstly, I'm using 2.6.9 and have updated to the latest cucumber puppet gems (cucumber-puppet 0.3.5) that allow for storeconfigs to be tested - thanks to Nikolay and his post (http://blog.nistu.de/ 2011/09/04/testing-exported-resources-with-cucumber-puppet/). Yay!
I have been trying to get some testing of a 'testnode' which would be a generic node that I can use to test all the developer contributed modules against before they get merged into trunk. I want to run a test like this: Feature: php In order to run a client webserver As an admin I want zend php to be installed Scenario: Installing PHP Given a node of class "roles::prod_webserver" with parameters: | name | value | | php_type | php_zend | When I compile the catalog Then package "zend-server-ce-php-5.3" should be "present" ...... ...... The issue here is that class roles::prod_webserver doesn't expect to be passed any values, but there is a bunch of ymllookups that pull values in from local yaml files. This causes errors when it complains about either invalid parameter (which it is in the above example) or failed lookup of value when I remove those parameters. Is there a way that I can express those values in my features file or are there any hints anyone can provide to get around this? TIA Den -- 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.