Skip to content

Commit

Permalink
Merge pull request #28 from chef-cookbooks/jtimberman/config-permissions
Browse files Browse the repository at this point in the history
Fixes #26, remove the ownership and permissions
  • Loading branch information
jtimberman committed Aug 11, 2015
2 parents ade1fb4 + 145e4d8 commit 80a6bcc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libraries/ingredient_config_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,11 @@ def whyrun_supported?
return if target_config.nil?

directory ::File.dirname(target_config) do
owner 'root'
group 'root'
mode '0755'
recursive true
action :create
end

file target_config do
owner 'root'
group 'root'
action :create
sensitive new_resource.sensitive
content get_config(new_resource.product_name)
Expand Down

0 comments on commit 80a6bcc

Please sign in to comment.