opswalrus 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/lib/opswalrus/host.rb +2 -1
- data/lib/opswalrus/ops_file_script.rb +1 -1
- data/lib/opswalrus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a8289839c7b797b102518b31d579236e7e4750f6c0deea76a7afb8c378e0d98
|
4
|
+
data.tar.gz: d126fcd38d30c21781cf631717aaea6b560927b9a62af6944beeca99bf6f05a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 602c6567a3a191fb9bc63085a84039e16df9199ce94579cd16c74ff846560737541ba53cdbfb612f49e076e465832ed868c817ae4240d65cb7d89b97f24d0cc0
|
7
|
+
data.tar.gz: 0b56dc14e1ee53936e0649cbcd58ebfc3ecf6abff2f0e3e558c5254dd0e0ec396b0c54ce90e4cdc09d848f6bec9ea61a0a65460bcec3124931d77ed70b6cd93c
|
data/lib/opswalrus/host.rb
CHANGED
@@ -54,7 +54,8 @@ module OpsWalrus
|
|
54
54
|
# end
|
55
55
|
|
56
56
|
def run_ops(cmd)
|
57
|
-
|
57
|
+
# e.g. /home/linuxbrew/.linuxbrew/bin/gem exec -g opswalrus ops bundle unzip tmpops.zip
|
58
|
+
shell!("/home/linuxbrew/.linuxbrew/bin/gem exec -g opswalrus ops #{cmd}")
|
58
59
|
end
|
59
60
|
|
60
61
|
end
|
@@ -140,7 +140,7 @@ module OpsWalrus
|
|
140
140
|
upload_success = host.upload(zip_bundle_path, "tmpops.zip")
|
141
141
|
raise Error, "Unable to upload ops bundle to remote host" unless upload_success
|
142
142
|
|
143
|
-
stdout, stderr, exit_status = host.run_ops("unzip tmpops.zip")
|
143
|
+
stdout, stderr, exit_status = host.run_ops("bundle unzip tmpops.zip")
|
144
144
|
raise Error, "Unable to unzip ops bundle on remote host" unless exit_status == 0
|
145
145
|
tmp_bundle_dir = stdout.strip
|
146
146
|
|
data/lib/opswalrus/version.rb
CHANGED