[chef] Re: Re: Re: Re: Email notification upon success or failure (with logs)


Chronological Thread 
  • From: Andrea Campi < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: Re: Re: Re: Email notification upon success or failure (with logs)
  • Date: Tue, 25 Oct 2011 20:49:23 +0200

Try this:

chef_handler "MYLibs::Email" do
      source "C:/chef/handlers/Email.rb"
      arguments " "> ", " "> "
      action :enable
    end

The constructor in the wiki example takes two plain arguments, you are passing a hash.

On Oct 25, 2011, at 7:27 PM, Maven User < "> > wrote:

chef_handler "MYLibs::Email" do
      source "C:/chef/handlers/Email.rb"
      arguments :from_address => " "> ", :to_address => " "> "
      action :enable
    end



Archive powered by MHonArc 2.6.16.

§