Skip to content

Commit

Permalink
Merge pull request #211 from scalp42/fix_disable_consul_service
Browse files Browse the repository at this point in the history
fix consul_service disable action
  • Loading branch information
johnbellone committed Aug 27, 2015
2 parents f200a09 + abb716b commit f2a8ce7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/consul_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ConsulService < Chef::Resource
# @return [String]
attribute(:install_path, kind_of: String, default: '/srv')

# @!attribute config_filename
# @!attribute config_file
# @return [String]
attribute(:config_file, kind_of: String, default: '/etc/consul.json')

Expand Down Expand Up @@ -160,7 +160,7 @@ def action_enable

def action_disable
notifying_block do
file new_resource.filename do
file new_resource.config_file do
action :delete
end

Expand Down

0 comments on commit f2a8ce7

Please sign in to comment.