server_tools 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/server_tools/install_deb_package.rb +3 -3
- data/lib/server_tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21b6b41694a6667a898173c6e0ce0141ceb354ab
|
4
|
+
data.tar.gz: ae988633d6d9f352859f8a7fe95fadde427ed83e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fadee9d1fcde74155fd61dbb521845f09dc0332a0d0c2f9aef4aa12c51ed262375a6f4c79a68c0144640c3823467174d2db0672599aab6cc770a12bc5fe6e9d
|
7
|
+
data.tar.gz: fa7014b9aefdfae3a12b57816299577a176feb1a0c2691f27ac719ff5adda65fac2b288402b533adfd25a5a730e073bba0866e30cbceb314a1a18c730e2f79d3
|
@@ -19,11 +19,11 @@ module ServerTools
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def install_command
|
22
|
-
["ssh #{hostname}", "
|
22
|
+
["ssh #{hostname}", "#{ssh_opts(options)}"].tap do |command|
|
23
23
|
if options[:purge_older_version]
|
24
|
-
command <<
|
24
|
+
command << %('#{purge_command} && #{_install_command}')
|
25
25
|
else
|
26
|
-
command << _install_command
|
26
|
+
command << %('#{_install_command}')
|
27
27
|
end
|
28
28
|
end.join(' ')
|
29
29
|
end
|
data/lib/server_tools/version.rb
CHANGED