I've created a Puppet module to install AWS Cloudwatch monitoring scripts and set them up. The Puppet module is available here.
When I run rake spec
, my test suite fails with:
rspec ./spec/classes/init_spec.rb:4 # cloudwatch with default values for all parameters should contain Class[cloudwatch]
I cannot for the life of me work out why this test is failing. How do I fix it?
I've tried creating a .fixtures/yml
in the root of the repo with the following content:
fixtures:
symlinks:
cloudwatch: "../../../../manifests"
fixtures:
symlinks:
cloudwatch: "#{source_dir}"
But no dice.
I've also tried using a symlink to link to the manifests directory: https://github.com/MasterRoot24/puppet-cloudwatch/commit/932970aab085984f2cda44fba841c3bde20f7a2b