Skip to content

Commit

Permalink
Merge pull request #44 from jlambert121/sensu_check_provider_fix
Browse files Browse the repository at this point in the history
property naming fix
  • Loading branch information
jamtur01 committed Mar 9, 2013
2 parents 9441ea3 + d2a69a2 commit f357266
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/puppet/provider/sensu_check/json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ def create
# Optional arguments
self.aggregate = resource[:aggregate] unless resource[:aggregate].nil?
self.standalone = resource[:standalone] unless resource[:standalone].nil?
self.standalone = resource[:high_flap_threshold] unless resource[:high_flap_threshold].nil?
self.standalone = resource[:low_flap_threshold] unless resource[:low_flap_threshold].nil?
self.standalone = resource[:occurrences] unless resource[:occurrences].nil?
self.standalone = resource[:refresh] unless resource[:refresh].nil?
self.standalone = resource[:notification] unless resource[:notification].nil?
self.high_flap_threshold = resource[:high_flap_threshold] unless resource[:high_flap_threshold].nil?
self.low_flap_threshold = resource[:low_flap_threshold] unless resource[:low_flap_threshold].nil?
self.occurrences = resource[:occurrences] unless resource[:occurrences].nil?
self.refresh = resource[:refresh] unless resource[:refresh].nil?
self.notification = resource[:notification] unless resource[:notification].nil?
end

def destroy
Expand Down

0 comments on commit f357266

Please sign in to comment.