]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: make revision of git repo configurable
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Sep 2016 13:03:50 +0000 (15:03 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Sep 2016 13:03:50 +0000 (15:03 +0200)
cookbooks/nominatim/attributes/default.rb
cookbooks/nominatim/recipes/standalone.rb

index b4a0b095273ac13d1af3f7c3934f0f68c21f68ec..8f187c7776051b093f2da2116e6dc09297ce152c 100644 (file)
@@ -1 +1,2 @@
 default[:nominatim][:logdir] = "/var/log/nominatim"
+default[:nominatim][:revision] = "master"
index f033c9f2d519d33694b54436d722f1e20256f7c9..0df3aafae10516ea2454f725084b1d9fd83eb95e 100644 (file)
@@ -25,6 +25,7 @@ home_directory = data_bag_item("accounts", "nominatim")["home"]
 git "#{home_directory}/nominatim" do
   action :checkout
   repository node[:nominatim][:repository]
+  revision node[:nominatim][:revision]
   enable_submodules true
   user "nominatim"
   group "nominatim"