Hello,
Does anybody know how to make rspec-puppet work with modules that use
custom types for class parameters? I am getting an error when I run spec
tests such as follows.
# Puppet::ParseError:
# Expected parameter 'ensure' of 'Class[Logrotate]' to have type
Logrotate::Ensurable, got
thank you that was great help
the rpm puppet-agent bringt the ruby version 2.1
/opt/puppetlabs/puppet/bin/ruby -e 'p $:'
["/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
"/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0/x86_64-linux",
"/opt/puppetlabs/puppet/lib/ruby/site_ruby",
"/opt/pupp