CopperEgg / chef-copperegg

Chef cookbook for CopperEgg services.
MIT License
5 stars 8 forks source link

Cannot find a resource for copperegg_probe #7

Closed smeyfroi closed 11 years ago

smeyfroi commented 11 years ago

This:

    node[:copperegg][:probes].each do |p|
      probename = "#{node[:application_geocms][:project_name]} #{p[:name]||''}"
      copperegg_probe probename do
        provider "copperegg_probe"
        action :update
        probe_desc probename
        probe_dest p[:destination]
        type 'GET'
        frequency 15
        timeout 10000
        state 'enabled'
        stations nil
        tags node[:copperegg][:tags]
        probe_data nil
        checkcontents true
        contentmatch p[:contentmatch]
      end
    end

Gives this error using chef-solo:

[2013-06-07T12:53:08+00:00] FATAL: Stacktrace dumped to /tmp/cheftime/chef-stacktrace.out
[2013-06-07T12:53:08+00:00] FATAL: NameError: Cannot find a resource for copperegg_probe on ubuntu version 12.04

I can't help feeling like I've missed something obvious but chef's error messages are totally unhelpful, as usual.

I'm on chef 11.4.0 on this ubuntu box it looks like, with ruby 1.9.3.

smeyfroi commented 11 years ago

Something weird is going on. Closing.

rdickey commented 11 years ago

To clarify, you were able to resolve this issue yourself?

smeyfroi commented 11 years ago

Yes I'm sorry: my mistake. I didn't update my dependencies to the new name of this cookbook.

On 7 Jun 2013, at 15:19, Ross Dickey notifications@github.com wrote:

To clarify, you were able to resolve this issue yourself?

— Reply to this email directly or view it on GitHub.