Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file "/etc/apache2/sites-available/mysite.conf.d/local_fnt_config" do
- owner 'root'
- group 'root'
- content "<Directory #{deploy[:deploy_to]}/current/web>\n\n" + IO.read("#{deploy[:deploy_to]}/current/web/.htaccess") + "\n\n</Directory>"
- action :create
- notifies :reload, "service[apache2]", :delayed
- only_if { File.exist?("#{deploy[:deploy_to]}/current/web/mobile/.htaccess") }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement