Hi there,
I'm am currently trying to get my puppet running on Version 3.1.1 together
with puppetlabs spec helper.
I managed to set up all my global modules correctly, including fixtures and
specs but I can not manage to implement specs in my environment.
Everytime I run 'rake spec' in my environments' module, I receive a
cryptical error like
Puppet::Error:
Could not autoload puppet/type/service: undefined method
`invalidate_refreshes=' for #<Puppet::Parameter::Value:0x7f622a167298> on
node xy
*The weird thing is, if I copy a module where 'rake spec' is succeeding
from '/etc/puppet/modules/' to my environment, I get the same result.*
*My configuration look like this:*
*/etc/puppet/environments/first/modules/vpn/Rakfile*
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
*/etc/puppet/environments/first/modules/vpn/manifest/tunnel.pp*
class vpn::tunnel {
somestuff
}
*/etc/puppet/environments/first/modules/vpn/spec/spec_helper.rb*
require 'puppetlabs_spec_helper/module_spec_helper'
And my specfile does currently only define some facts...
Any Ideas?? I am really running out of ideas.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.