source "GeoIP.conf.erb"
owner "root"
group "root"
- mode 0o644
+ mode "644"
variables :license_keys => license_keys
end
command "geoipupdate"
user "root"
group "root"
- not_if { node[:geoipupdate][:editions].all? { |edition| ::File.exist?("/usr/share/GeoIP/#{edition}.mmdb") } }
+ not_if { ENV.key?("TEST_KITCHEN") || node[:geoipupdate][:editions].all? { |edition| ::File.exist?("/usr/share/GeoIP/#{edition}.mmdb") } }
end
directory "/var/lib/GeoIP" do