run git checkout before the rest of the nominatim setup
[chef.git] / cookbooks / nominatim / recipes / slave.rb
index d7c7889c8cb240f7dddcd50b3878f4b906f951bd..6c263caf59e1f3f772844c27a12e560bd8979f66 100644 (file)
@@ -17,7 +17,7 @@
 # limitations under the License.
 #
 
-include_recipe "nominatim::base"
+include_recipe "git"
 
 home_directory = data_bag_item("accounts", "nominatim")["home"]
 
@@ -28,3 +28,5 @@ git "#{home_directory}/nominatim" do
   group "nominatim"
   notifies :run, "execute[compile_nominatim]"
 end
+
+include_recipe "nominatim::base"