Don't continue to alert on failed hosts

Save the failed state in the Chef cache so it doesn't continue to spam on failed nodes
Great, I will make those changes today!

Thanks,
Dave


On 21 August 2014 10:02, Mathieu Sauve-Frankel <notifications@github.com>
wrote:

> In lib/chef/handler/mail.rb:
>
> > @@ -22,13 +22,15 @@ class MailHandler < Chef::Handler
> >    attr_reader :options
> >    def initialize(opts = {})
> >      @options = {
> > -      :to_address => "root",
> > -      :template_path => File.join(File.dirname(__FILE__), "mail.erb")
> > +      to_address: "root",
>
> I don't mind moving to ruby1.9+ symbol syntax, however I would prefer to
> split these changes into a separate PR and make sure the gem be marked as
> not supporting older rubies. Any chance you can pare down this PR to
> strictly the functional changes you are proposing and no stylistic changes
> ?
>
> Thanks.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/kisoku/chef-handler-mail/pull/9/files#r16508932>.
>