example42 / puppet-nagios

Puppet module for Nagios
Other
4 stars 18 forks source link

.fixtures.yml missing stdlib #34

Closed ghost closed 10 years ago

ghost commented 10 years ago

When you clone the repository and run rake spec, you get the following errors:

  1) nagios Test Monitoring Tools Integration should generate monitor defines
     Failure/Error: content = catalogue.resource('monitor::process', 'nagios_process').send(:parameters)[:tool]
     Puppet::Error:
       Unknown function is_array at /Users/mhuffnagle/Source/puppet-nagios/spec/fixtures/modules/puppi/manifests/info.pp:28 on node rspec.example42.com
     # ./spec/classes/nagios_spec.rb:138:in `block (3 levels) in <top (required)>'

Adding https://github.com/puppetlabs/puppetlabs-stdlib to the fixtures file gets all of the tests to pass.

ghost commented 10 years ago

Fixed by example42@83682af