- name: "Test Kitchen (forum)"
script:
- bundle exec kitchen test forum-ubuntu-1804
+ - name: "Test Kitchen (geoipupdate)"
+ script:
+ - bundle exec kitchen test geoipupdate-ubuntu-1804
- name: "Test Kitchen (incron)"
script:
- bundle exec kitchen test incron-ubuntu-1804
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