opswalrus 1.0.50 → 1.0.51
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/host.rb +5 -5
- data/lib/opswalrus/invocation.rb +3 -3
- 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: be0988f270b372d5ad10f8ed1abb90db64ce6d07c34a1f17854d24e397c80d67
|
|
4
|
+
data.tar.gz: bdf5f694430d8178f3a4799d53cad884fc3a8adaecc74c14bf76b2a1a451a756
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54cf7193022eb5fec71c71a4417668567e5134a7fcb5f72a31ed10ecee7d52765c3fbe5ecb33ee70052d5f5c3e17f60076352beec4a16397944493ccd25cf317
|
|
7
|
+
data.tar.gz: 293e8f8948d3c0d7ec7f64ea40551519fe5f14be4317185603f49e33e74f5ec188e1121933b51c1234a261fbd56e18a2bfa6ecc78d74e313d4c996763715edf4
|
data/Gemfile.lock
CHANGED
data/lib/opswalrus/host.rb
CHANGED
|
@@ -127,11 +127,11 @@ module OpsWalrus
|
|
|
127
127
|
retval = instance_exec(local_host, &block) # local_host is passed as the argument to the block
|
|
128
128
|
|
|
129
129
|
# todo: cleanup
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
if tmp_bundle_root_dir =~ /tmp/ # sanity check the temp path before we blow away something we don't intend
|
|
131
|
+
@_host.execute(:rm, "-rf", "tmpops.zip", tmp_bundle_root_dir)
|
|
132
|
+
else
|
|
133
|
+
@_host.execute(:rm, "-rf", "tmpops.zip")
|
|
134
|
+
end
|
|
135
135
|
|
|
136
136
|
retval
|
|
137
137
|
end
|
data/lib/opswalrus/invocation.rb
CHANGED
|
@@ -138,9 +138,9 @@ module OpsWalrus
|
|
|
138
138
|
File.unlink(json_kwargs_tempfile) rescue nil
|
|
139
139
|
end
|
|
140
140
|
# todo: make sure this cleanup is present
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
if remote_json_kwargs_tempfile_basename
|
|
142
|
+
@host_proxy.execute(:rm, "-f", remote_json_kwargs_tempfile_basename)
|
|
143
|
+
end
|
|
144
144
|
end
|
|
145
145
|
end
|
|
146
146
|
end
|
data/lib/opswalrus/version.rb
CHANGED