]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geodns/recipes/default.rb
Use MaxMind PPA for geoipupdate and configure account credentials
[chef.git] / cookbooks / geodns / recipes / default.rb
index f24f1b8deecaadc03ec803e555e530d1a3a31b9f..813ac250cfed8404c00584543ea2d3eb48df1a52 100644 (file)
 # limitations under the License.
 #
 
+include_recipe "geoipupdate"
+
 package %w[
-  geoipupdate
   gdnsd
 ]
 
-execute "geoipdate" do
-  command "geoipupdate"
-  user "root"
-  group "root"
-  not_if { ::File.exist?("/var/lib/GeoIP/GeoLite2-Country.mmdb") }
-end
-
 directory "/etc/gdnsd/config.d" do
   owner "nobody"
   group "nogroup"