itrigga-cap_deploy 0.1.6 → 0.1.7
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/VERSION +1 -1
- data/lib/itrigga/cap_deploy/cap_tasks.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.7
|
|
@@ -84,7 +84,7 @@ configuration.load do
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
task :resymlink_monit do
|
|
87
|
-
monit_file = "#{web_dir}/config/monit/monit
|
|
87
|
+
monit_file = "#{web_dir}/config/monit/monit.`readlink /etc/itrigga_config_file`.config"
|
|
88
88
|
std_monit_file = "/etc/monit/conf.d/#{application_stub}"
|
|
89
89
|
puts "re-symlinking monit config"
|
|
90
90
|
run "(test -L #{std_monit_file} && #{sudo} rm #{std_monit_file}) || echo 'no existing link'"
|
|
@@ -104,7 +104,7 @@ configuration.load do
|
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
task :resymlink_logrotate do
|
|
107
|
-
logrotate_config_file = "#{web_dir}/config/log_rotate/log_rotate
|
|
107
|
+
logrotate_config_file = "#{web_dir}/config/log_rotate/log_rotate.`readlink /etc/itrigga_config_file`.config"
|
|
108
108
|
std_logrotate_file = "/etc/logrotate.d/#{application_stub}"
|
|
109
109
|
puts "re-symlinking logrotate config"
|
|
110
110
|
run "(test -L #{std_logrotate_file} && #{sudo} rm #{std_logrotate_file}) || echo nothing to remove"
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itrigga-cap_deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.1.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Al Davidson
|