Skip to content

Commit

Permalink
Fixes idempotency issue with non rhel os'es
Browse files Browse the repository at this point in the history
  • Loading branch information
Kramer, Rudi committed Nov 6, 2019
1 parent cbbc3bb commit fab88fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
command "#{node['squid']['package']} -Nz"
action :run
creates ::File.join(node['squid']['cache_dir'], '00')
not_if { node['platform_family'] =~ /(rhel|fedora)/ }
not_if do FileTest.directory?("#{node['squid']['cache_dir']}/00") end
end

# services
Expand Down

0 comments on commit fab88fb

Please sign in to comment.