opswalrus 1.0.29 → 1.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/build.ops +3 -0
- data/lib/opswalrus/host.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: c119dc5fcbca954736169437e9d05f306e7d34e68797f40cd887225123759ae7
|
4
|
+
data.tar.gz: 6a0d7f964bb499c26a8069e2fcad7ca41497e96b085c95af1419f18c149942df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c51af0418924fb95f18873fa7ad35f045fe5fb0df906be013d3ebd17fc9bfb675bc1ef87e596d63bc10f3f5a523bdc0895dd6e9ddf7422929312ee041d272ec1
|
7
|
+
data.tar.gz: bfd2c108337ba39f74a4fd76a5f10eca54d85de19604ae971585c7bfb26c498d58896f07d13fe638098bd3fd8b39abfbdcc6a7a2c936770879898db05d9b3227
|
data/Gemfile.lock
CHANGED
data/build.ops
CHANGED
@@ -33,6 +33,9 @@ puts "Write version.rb for version #{version}"
|
|
33
33
|
core.template.write(path: "./lib/opswalrus/version.rb", template: template, variables: {version: version})
|
34
34
|
|
35
35
|
sh("Build gem") { 'gem build opswalrus.gemspec' }
|
36
|
+
|
37
|
+
sh("Commit Gemfile.lock and version.rb and git push changes") { 'git commit -am "gem {{ version }}" && git push' }
|
38
|
+
|
36
39
|
bw_status_output = sh("Check whether Bitwarden is locked or not") { 'bw status' }
|
37
40
|
# the status command currently exhibits an error in which it emits 'mac failed.' some number of times, so we need to filter that out
|
38
41
|
# see:
|
data/lib/opswalrus/host.rb
CHANGED
@@ -192,7 +192,7 @@ module OpsWalrus
|
|
192
192
|
|
193
193
|
# cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'; /home/linuxbrew/.linuxbrew/bin/gem exec --conservative -g opswalrus ops"
|
194
194
|
# cmd = "OPS_GEM=\"#{OPS_GEM}\" OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'; $OPS_GEM exec --conservative -g opswalrus ops"
|
195
|
-
cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'
|
195
|
+
cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}' eval #{OPS_CMD}"
|
196
196
|
cmd << " -v" if verbose
|
197
197
|
cmd << " #{ops_command.to_s}"
|
198
198
|
cmd << " #{ops_command_options.to_s}" if ops_command_options
|
data/lib/opswalrus/version.rb
CHANGED