opswalrus 1.0.21 → 1.0.22
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/Gemfile.lock +1 -1
- data/lib/opswalrus/bootstrap.sh +18 -2
- data/lib/opswalrus/host.rb +2 -1
- data/lib/opswalrus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca9eba4dad1364ba637f4b42bd1486f6a5fa15b1925053ac9cbbd404cdb7843f
|
|
4
|
+
data.tar.gz: 2b9f2dca57c649a9bdc21c97694d557331ad9ff1ddbf5b8dbec106e938a08795
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8134625d99fa2158260e4f04c498ae53f3b7c871fbb124c10212a9524830f4995ac128a141c285d7618617cb8224feb506c1107701a5f18d70469f53c08f0895
|
|
7
|
+
data.tar.gz: 90297e4c03bfa72bc76b2ce5b81c24677702d41e0754d939e763f68e3180baf07a12c6e061557b6867f0cc995be8a87197cb3de02cf6ab2452b83aad8e970bc5
|
data/Gemfile.lock
CHANGED
data/lib/opswalrus/bootstrap.sh
CHANGED
|
@@ -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
|
data/lib/opswalrus/host.rb
CHANGED
|
@@ -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
|
data/lib/opswalrus/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2023-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: amazing_print
|