Skip to content

Commit

Permalink
fix consul_service disable action
Browse files Browse the repository at this point in the history
  • Loading branch information
scalp42 committed Aug 27, 2015
1 parent 05ef3c9 commit abb716b
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 abb716b

Please sign in to comment.