rmdd 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rmd/deploy_service.rb +2 -2
- data/lib/rmd/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: 5ab14749293c869c58f5536e101ecb48974c32ae
|
4
|
+
data.tar.gz: d23b3459855dfe0c6d996397575e3c9964632814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfeb7165769b2ffd87f0737854e1909b86bb8d21f2faae6b450d1397ce57524031b364dd69ae18fa84b371cb269dde849616b77bf259f127f3d9c0af2da8c614
|
7
|
+
data.tar.gz: 689b0e77c4362a6034595d013cea8246fcb997ddffb483b5cc28d956db63033e4eacabbea4b5ec57f2fb5477f79d4c68a427dc18a3eac194f5eb5c613decf5ba
|
data/lib/rmd/deploy_service.rb
CHANGED
@@ -26,7 +26,7 @@ module Rmd
|
|
26
26
|
def self.nginx(server, type)
|
27
27
|
validate(server)
|
28
28
|
validate_type(type)
|
29
|
-
command = %{echo "tailf nginx/log/#{type}" | ssh #{
|
29
|
+
command = %{echo "tailf nginx/log/#{type}" | ssh #{nginx_url(server)}}
|
30
30
|
system_cmd(command)
|
31
31
|
end
|
32
32
|
|
@@ -62,7 +62,7 @@ module Rmd
|
|
62
62
|
Server.get(server).master
|
63
63
|
end
|
64
64
|
|
65
|
-
def self.
|
65
|
+
def self.nginx_url(server)
|
66
66
|
Server.get(server).nginx
|
67
67
|
end
|
68
68
|
|
data/lib/rmd/version.rb
CHANGED