onceover-octocatalog-diff 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onceover/octocatalog/diff/cli.rb +1 -2
- data/lib/onceover/octocatalog/diff/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55b1b1d978b0628b638d768b2dfd2b260ff94e41
|
4
|
+
data.tar.gz: 0e9761af15e2241e50b9ed21ee00e9c95f5f593a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6480e63889835cad6fab8740d472a8ed020a7c832721eb50ad7e9a3eeb81938ee2c2962df0435f186c99d74facf1f983d96f89d1edbf6b01fe44d7ef0ca5fd60
|
7
|
+
data.tar.gz: 0c7df87a98e4d0c465f67b588a0167ed2d3c31ef2b74b9aa13e011fe849a7c0a22c54b15fda683e3822cd81b11a72bdc770613eb702ad28e59a2069a39aafe79
|
@@ -17,7 +17,6 @@ revisions to compare between.
|
|
17
17
|
option :t, :to, 'branch to compare to', argument: :required
|
18
18
|
|
19
19
|
run do |opts, args, cmd|
|
20
|
-
require 'pry'
|
21
20
|
require 'facter'
|
22
21
|
require 'colored'
|
23
22
|
|
@@ -55,7 +54,7 @@ revisions to compare between.
|
|
55
54
|
|
56
55
|
logger.info "Deploying Puppetfile for #{test.classes[0].name} on #{test.nodes[0].name}"
|
57
56
|
r10k_cmd = "r10k puppetfile install --verbose --color --puppetfile #{repo.puppetfile} --config #{r10k_cache_dir}/r10k.yaml"
|
58
|
-
Open3.popen3(r10k_cmd) do |stdin, stdout, stderr, wait_thr|
|
57
|
+
Open3.popen3(r10k_cmd, :chdir => tempdir) do |stdin, stdout, stderr, wait_thr|
|
59
58
|
exit_status = wait_thr.value
|
60
59
|
if exit_status.exitstatus != 0
|
61
60
|
STDOUT.puts stdout.read
|