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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 052a555c9674e3835b9609c8b5040ed4c1a7fa5d78cc746b9bad9a64d610a2cd
4
- data.tar.gz: e9c6dbad4a3d82cb5d59d823bdfe9f9533628a5deba6ac379164fb77518c3489
3
+ metadata.gz: 0a8289839c7b797b102518b31d579236e7e4750f6c0deea76a7afb8c378e0d98
4
+ data.tar.gz: d126fcd38d30c21781cf631717aaea6b560927b9a62af6944beeca99bf6f05a6
5
5
  SHA512:
6
- metadata.gz: febce81b7caa90a615a87443cc62a1cfc47642922d6a3b585b6d8fbdb545c29d4ca3d031e9dcfcc6d87eb7852b16b13d353e2089ea9cec156f4be017b943feb2
7
- data.tar.gz: 384aadc1dc7fcb3311d49262b221679a3447c3c55a0154f97a880882ab3ed45510757b71be1a2e564cbff8ac433c63bef7808be6a1a6735c3e1587a11ee32d9f
6
+ metadata.gz: 602c6567a3a191fb9bc63085a84039e16df9199ce94579cd16c74ff846560737541ba53cdbfb612f49e076e465832ed868c817ae4240d65cb7d89b97f24d0cc0
7
+ data.tar.gz: 0b56dc14e1ee53936e0649cbcd58ebfc3ecf6abff2f0e3e558c5254dd0e0ec396b0c54ce90e4cdc09d848f6bec9ea61a0a65460bcec3124931d77ed70b6cd93c
@@ -54,7 +54,8 @@ module OpsWalrus
54
54
  # end
55
55
 
56
56
  def run_ops(cmd)
57
- shell!("/home/linuxbrew/.linuxbrew/bin/gem exec opswalrus ops #{cmd}")
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
 
@@ -1,3 +1,3 @@
1
1
  module OpsWalrus
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opswalrus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ellis