]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/cgimap.rb
Disable SSLv3
[chef.git] / cookbooks / web / recipes / cgimap.rb
index 8553d6ff5de4e91c57b881b823bd87c800cd34a3..4a8ab12c1ce0d0379e27f2de42844458677a47c4 100644 (file)
@@ -40,12 +40,6 @@ cgimap_directory = "#{node[:web][:base_directory]}/cgimap"
 pid_directory = node[:web][:pid_directory]
 log_directory = node[:web][:log_directory]
 
-if node[:lsb][:release].to_f >= 14.04
-  libdir = "/usr/lib/x86_64-linux-gnu"
-else
-  libdir = "/usr/lib"
-end
-
 execute "cgimap-build" do
   action :nothing
   command "make"
@@ -56,7 +50,7 @@ end
 
 execute "cgimap-configure" do
   action :nothing
-  command "./configure --with-fcgi=/usr --with-boost-libdir=#{libdir}"
+  command "./configure --with-fcgi=/usr --with-boost-libdir=/usr/lib/x86_64-linux-gnu"
   cwd cgimap_directory
   user "rails"
   group "rails"