opswalrus 1.0.20 → 1.0.22

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: 85276d2b105829b573b1ca4d5c9b6169bd646653426d2d9d6789bf27066e6424
4
- data.tar.gz: fe19e8befca0652945f72bf3d00281584bfdac76a6c7a6ce0164cb2b68b0300b
3
+ metadata.gz: ca9eba4dad1364ba637f4b42bd1486f6a5fa15b1925053ac9cbbd404cdb7843f
4
+ data.tar.gz: 2b9f2dca57c649a9bdc21c97694d557331ad9ff1ddbf5b8dbec106e938a08795
5
5
  SHA512:
6
- metadata.gz: 15a62a13434e076fe3775a950017aa769db557750246cb9d53996a44929f28ba9339dfd3221fb4e84eb927dfeba85a03c5c966b3f2e9d68a44e67c62f5ef593e
7
- data.tar.gz: 93a6af68fca1def7bfedc4f9710c428df70573f800a9ac9e8ddaa461f2ac9b5e3f14244f881c1bd197eef45eab02d745389014dcec493bd16c7100911123404e
6
+ metadata.gz: 8134625d99fa2158260e4f04c498ae53f3b7c871fbb124c10212a9524830f4995ac128a141c285d7618617cb8224feb506c1107701a5f18d70469f53c08f0895
7
+ data.tar.gz: 90297e4c03bfa72bc76b2ce5b81c24677702d41e0754d939e763f68e3180baf07a12c6e061557b6867f0cc995be8a87197cb3de02cf6ab2452b83aad8e970bc5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- opswalrus (1.0.20)
4
+ opswalrus (1.0.22)
5
5
  amazing_print (~> 1.5)
6
6
  bcrypt_pbkdf (~> 1.1)
7
7
  citrus (~> 3.0)
@@ -56,8 +56,24 @@ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
56
56
 
57
57
  # install gcc, ruby, age
58
58
  brew install gcc
59
- brew install ruby
60
59
  brew install age # https://github.com/FiloSottile/age
61
60
 
61
+ ### install ruby
62
+
63
+ # 1. via homebrew
64
+ # brew install ruby
65
+ # this doesn't install some gems nicely
66
+
67
+ # 2. via ruby-install
68
+ # brew install bash grep wget curl md5sha1sum sha2 gnu-tar bzip2 xz patchutils gcc
69
+ brew install ruby-install
70
+ ruby-install --update
71
+ ruby-install ruby 3.2.2
72
+
73
+ # 3. rvm
74
+ # gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
75
+ # \curl -sSL https://get.rvm.io | bash -s stable --autolibs=homebrew
76
+ # rvm install 3.2.2
77
+
62
78
  # install opswalrus gem
63
- gem install opswalrus
79
+ $HOME/.rubies/ruby-3.2.2/bin/gem install opswalrus
@@ -89,7 +89,7 @@ module OpsWalrus
89
89
  @_host.execute(:rm, "-f", "tmpopsbootstrap.sh")
90
90
  end
91
91
 
92
- def zip_copy_and_run_ops_bundle(local_host, block)
92
+ def _zip_copy_and_run_ops_bundle(local_host, block)
93
93
  # copy over ops bundle zip file
94
94
  zip_bundle_path = @runtime_env.zip_bundle_path
95
95
  upload_success = @_host.upload(zip_bundle_path, "tmpops.zip")
@@ -187,7 +187,8 @@ module OpsWalrus
187
187
  host
188
188
  end
189
189
 
190
- cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'; /home/linuxbrew/.linuxbrew/bin/gem exec -g opswalrus ops"
190
+ # cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'; /home/linuxbrew/.linuxbrew/bin/gem exec -g opswalrus ops"
191
+ cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'; #{Dir.home}/.rubies/ruby-3.2.2/bin/gem install opswalrus exec -g opswalrus ops"
191
192
  cmd << " -v" if verbose
192
193
  cmd << " #{ops_command.to_s}"
193
194
  cmd << " #{ops_command_options.to_s}" if ops_command_options
@@ -1,3 +1,3 @@
1
1
  module OpsWalrus
2
- VERSION = "1.0.20"
2
+ VERSION = "1.0.22"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opswalrus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.20
4
+ version: 1.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ellis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-24 00:00:00.000000000 Z
11
+ date: 2023-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amazing_print