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"
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"