alright, i was doint it wrong. just enable "pluginsync=true" on the
client.
On Apr 19, 5:05 pm, Ernest Beinrohr <oer...@axonpro.sk>
wrote:> Hi, I have trouble installing vcsrepo. I cloned vcsrepo onto my
> Centos6 and when I run "rake" i get this:
>
> (in /etc/puppet/modules/vcsrepo)
> ** Invoke default (first_time)
> ** Invoke spec (first_time)
> ** Execute spec
> ./spec/unit/puppet/provider/vcsrepo/cvs_spec.rb:3: undefined method
> `describe_provider'' for main:Object (NoMethodError)
> from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
> example_group_runner.rb:15:in `load''
> from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
> example_group_runner.rb:15:in `load_files''
> from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
> example_group_runner.rb:14:in `each''
> from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
> example_group_runner.rb:14:in `load_files''
> from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
> options.rb:133:in `run_examples''
> from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/
> command_line.rb:9:in `run''
> from /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5
> rake aborted!
> Command /usr/bin/ruby -I"lib:lib:spec"
"/usr/lib/ruby/gems/1.8/gems/
> rspec-1.3.0/bin/spec"
"spec/unit/puppet/provider/vcsrepo/cvs_spec.rb"
> "spec/unit/puppet/provider/vcsrepo/svn_spec.rb"
"spec/unit/puppet/
> provider/vcsrepo/bzr_spec.rb" "spec/unit/puppet/provider/vcsrepo/
> hg_spec.rb" "spec/unit/puppet/provider/vcsrepo/git_spec.rb"
failed
> /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/rake/spectask.rb:
> 177:in `define''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1111:in
`verbose''
> /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/rake/spectask.rb:
> 153:in `define''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `call''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in
`execute''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `each''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in
`execute''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
> `invoke_with_call_chain''
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in
> `invoke_with_call_chain''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:606:in
> `invoke_prerequisites''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in `each''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in
> `invoke_prerequisites''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:595:in
> `invoke_with_call_chain''
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in
> `invoke_with_call_chain''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:582:in `invoke''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in
> `invoke_task''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in
`top_level''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `each''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in
`top_level''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
> `standard_exception_handling''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2022:in
`top_level''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
> `standard_exception_handling''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in `run''
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
> /usr/bin/rake:19:in `load''
> /usr/bin/rake:19
>
> PS: my puppet and ruby packages are from epel:
> puppet-2.7.13-1.el6.noarch
> puppet-dashboard-1.2.4-1.el6.noarch
> puppet-server-2.7.13-1.el6.noarch
> ruby-1.8.7.352-7.el6_2.x86_64
> ruby-augeas-0.4.1-1.el6.x86_64
> rubygem-puppet-lint-0.1.6-1.el6.rf.noarch
> rubygem-rake-0.8.7-2.1.el6.noarch
> rubygem-rspec-1.3.0-2.el6.noarch
> rubygems-1.3.7-1.el6.noarch
> ruby-irb-1.8.7.352-7.el6_2.x86_64
> ruby-libs-1.8.7.352-7.el6_2.x86_64
> ruby-mysql-2.8.2-1.el6.x86_64
> ruby-rdoc-1.8.7.352-7.el6_2.x86_64
> ruby-shadow-1.4.1-13.el6.x86_64
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.