lib/poolparty/plugins/apache2/passenger_site.rb in auser-poolparty-1.3.4 vs lib/poolparty/plugins/apache2/passenger_site.rb in auser-poolparty-1.3.5
- old
+ new
@@ -30,12 +30,12 @@
has_site_directory "shared/log"
has_site_directory "releases"
if !File.exists?("#{dir}/#{name}/current")
# setup an initial symlink so apache will start even if there have not been any deploys yet
- has_site_directory "releases/initial/public"
+ #has_site_directory "releases/initial/public"
#FIXME the following line is chef specific. It will fail with puppet
- # has_symlink(:target_file => "#{dir}/#{name}/current", :to => "#{dir}/#{name}/releases/initial")
+ has_link(:target_file => "#{dir}/#{name}/current", :to => "#{dir}/#{name}/releases/initial")
end
log_dir = "#{site_directory}/shared/log"
appended_path "current"
else
\ No newline at end of file