Skip to content

Commit

Permalink
[COOK-1758] add initialize to yum key resource
Browse files Browse the repository at this point in the history
This resolves NotImplementedError faults using chef-client on redhat or centos
  • Loading branch information
breu committed Oct 10, 2012
1 parent cdb27c9 commit 899d739
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/key.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@

attribute :key, :kind_of => String, :name_attribute => true
attribute :url, :kind_of => String, :default => nil

def initialize(*args)
super
@action = :add
end

0 comments on commit 899d739

Please sign in to comment.