obbistrano 1.1.63 → 1.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/obbistrano_tasks.rb +2 -2
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
@@ -247,8 +247,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
247
247
|
set :user_to_config, "#{user}"
|
248
248
|
begin
|
249
249
|
with_user("root", "#{root_pass}") do
|
250
|
-
run "cd /home/#{user_to_config}/ && ln -s /etc/nginx/sites-enabled/#{user_to_config}.conf #{deploy_to}/app/platform/nginx.conf"
|
251
|
-
run "cd /home/#{user_to_config}/ && ln -s /etc/apache2/sites-enabled/#{user_to_config}.conf #{deploy_to}/app/platform/apache.conf"
|
250
|
+
run "rm -f /etc/nginx/sites-enabled/#{user_to_config}.conf; cd /home/#{user_to_config}/ && ln -s /etc/nginx/sites-enabled/#{user_to_config}.conf #{deploy_to}/app/platform/nginx.conf"
|
251
|
+
run "rm -f /etc/apache2/sites-enabled/#{user_to_config}.conf; cd /home/#{user_to_config}/ && ln -s /etc/apache2/sites-enabled/#{user_to_config}.conf #{deploy_to}/app/platform/apache.conf"
|
252
252
|
end
|
253
253
|
user_cron_tasks = capture("cat #{deploy_to}/app/platform/crontab")
|
254
254
|
run write_crontab(user_cron_tasks)
|
data/obbistrano.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{obbistrano}
|
5
|
-
s.version = "1.1.
|
5
|
+
s.version = "1.1.64"
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
7
7
|
s.date = Time.now
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|