fix typos and style
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 18 Jun 2015 05:49:40 +0000 (07:49 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 18 Jun 2015 05:49:40 +0000 (07:49 +0200)
cookbooks/nominatim/recipes/base.rb
cookbooks/nominatim/recipes/master.rb [moved from cookbooks/nominatim/recipes/master.db with 99% similarity]
cookbooks/nominatim/recipes/slave.rb [moved from cookbooks/nominatim/recipes/slave.db with 99% similarity]
roles/nominatim.rb

index c754d10..9dd0f1c 100644 (file)
@@ -121,7 +121,6 @@ execute "compile_nominatim" do
   user "nominatim"
 end
 
-
 directory "#{source_directory}/log" do
   owner "nominatim"
   group "nominatim"
similarity index 99%
rename from cookbooks/nominatim/recipes/master.db
rename to cookbooks/nominatim/recipes/master.rb
index a634441..e113cbf 100644 (file)
@@ -41,7 +41,6 @@ postgresql_user "replication" do
   replication true
 end
 
-
 git "#{home_directory}/nominatim" do
   action :checkout
   repository node[:nominatim][:repository]
@@ -50,5 +49,3 @@ git "#{home_directory}/nominatim" do
   group "nominatim"
   notifies :run, "execute[compile_nominatim]"
 end
-
-
similarity index 99%
rename from cookbooks/nominatim/recipes/slave.db
rename to cookbooks/nominatim/recipes/slave.rb
index bcc1b11..d7c7889 100644 (file)
@@ -28,4 +28,3 @@ git "#{home_directory}/nominatim" do
   group "nominatim"
   notifies :run, "execute[compile_nominatim]"
 end
-
index 8cfa7fe..a5f30c4 100644 (file)
@@ -85,6 +85,3 @@ default_attributes(
     }
   }
 )
-
-run_list(
-)