Skip to content

Commit

Permalink
Merge pull request #78 from hubspotdevops/master
Browse files Browse the repository at this point in the history
Prevent executing sensu::check resource every puppet run
  • Loading branch information
jamtur01 committed May 17, 2013
2 parents 70ca089 + 96860c1 commit 2790163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_check/json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def notification=(value)
end

def refresh
conf['checks'][resource[:name]]['refresh']
conf['checks'][resource[:name]]['refresh'].to_s
end

def refresh=(value)
Expand Down

0 comments on commit 2790163

Please sign in to comment.