[Puppet Users] rspec-puppet with custom types

2017-10-23 Thread Michael Watters
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

Re: [Puppet Users] After mcollective update agent does not work anymore

2017-10-23 Thread Andreas Dvorak
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