opswalrus 1.0.104 → 1.0.105

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47e66938c344825f2baa189ad1cbe961891263d08e47d55f7dca2e58641d2ac2
4
- data.tar.gz: 8c0c990d36a341c88703a3de6febb9365e4127e14f8ff83775124169d6c488bd
3
+ metadata.gz: 10ff155d965d43e0e6e0bcc859415ca5779693159c4f975f42bdd0d7b5f639f8
4
+ data.tar.gz: 519050864da1c1655107b78410f3c5d0a78319527545be5bee706cd38630d90c
5
5
  SHA512:
6
- metadata.gz: c3abab16446029a28b84e3fd15edfd2b601abcb74fbe7da7229b10bcb27870fb32048d67b63693424d4e597075d1388b617cd6567fa44c3d4d10a5ce1ee00cf7
7
- data.tar.gz: 409aa7af8116157ebbd6719d3efc51bcd68cccdc95c739ec853e6f7b259d237fd9822c9ffd0b394f811d62afb1153bc3481fcec333ee4117eca270c6f9108251
6
+ metadata.gz: a8155a1d101f4a679a708239797c631844952e5b6bf4ae2a48bc085f9cb48d3982714634be25cc1c05de27e74269cf5682d2d5a10d031448eb95e0c65fdffe6d
7
+ data.tar.gz: 57c7ad20bc860ed86b28be37c2a8deeaee8a8892f0cb86b75c73c286eb47654a203d155dcda52f027c01f04e49e366f7897fa79b287fe095dc35054d4f136a4e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- opswalrus (1.0.104)
4
+ opswalrus (1.0.105)
5
5
  activesupport (~> 7.0)
6
6
  bcrypt_pbkdf (~> 1.1)
7
7
  binding_of_caller (~> 1.0)
@@ -568,10 +568,10 @@ module OpsWalrus
568
568
  def _initialize_session
569
569
  # copy over ops bundle zip file
570
570
  zip_bundle_path = @runtime_env.zip_bundle_path
571
- upload_success = @_host.upload(zip_bundle_path, "tmpops.zip")
571
+ upload_success = upload(zip_bundle_path, "tmpops.zip")
572
572
  raise Error, "Unable to upload ops bundle to remote host" unless upload_success
573
573
 
574
- stdout, _stderr, exit_status = @_host.run_ops(:bundle, "unzip tmpops.zip", in_bundle_root_dir: false)
574
+ stdout, _stderr, exit_status = run_ops(:bundle, "unzip tmpops.zip", in_bundle_root_dir: false)
575
575
  raise Error, "Unable to unzip ops bundle on remote host: #{stdout}" unless exit_status == 0
576
576
  tmp_bundle_root_dir = stdout.strip
577
577
  set_ssh_session_tmp_bundle_root_dir(tmp_bundle_root_dir)
@@ -580,9 +580,9 @@ module OpsWalrus
580
580
  def _cleanup_session
581
581
  # todo: cleanup
582
582
  if @tmp_bundle_root_dir =~ /tmp/ # sanity check the temp path before we blow away something we don't intend
583
- @_host.execute(:rm, "-rf", "tmpops.zip", @tmp_bundle_root_dir)
583
+ execute(:rm, "-rf", "tmpops.zip", @tmp_bundle_root_dir)
584
584
  else
585
- @_host.execute(:rm, "-rf", "tmpops.zip")
585
+ execute(:rm, "-rf", "tmpops.zip")
586
586
  end
587
587
  end
588
588
 
@@ -1,3 +1,3 @@
1
1
  module OpsWalrus
2
- VERSION = "1.0.104"
2
+ VERSION = "1.0.105"
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.104
4
+ version: 1.0.105
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ellis