Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #110 from hulu1522/patch-1
Browse files Browse the repository at this point in the history
Update Chef if config file changes
  • Loading branch information
jeffbyrnes committed Nov 6, 2014
2 parents b125f66 + 2df1f50 commit dcb41b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

include Zookeeper::Config

use_inline_resources

def initialize(new_resource, run_context)
super
@path = new_resource.path
Expand All @@ -15,6 +17,7 @@ def initialize(new_resource, run_context)
@zoocfg.group(@user)
@zoocfg.content(render_zk_config(@config))
@zoocfg.run_action(:create)
new_resource.updated_by_last_action(@zoocfg.updated_by_last_action?)
end

action :delete do
Expand Down

0 comments on commit dcb41b9

Please sign in to comment.