Skip to content

Commit 1435caa

Browse files
committed
Split arguments added for ENC
The arguments for puppet invocations are not longer explicitely split on white-spaces. This means that only one argument is added for ENC, while this should be two (--node_terminus and --external_nodes). Just properly split the arguments.
1 parent 21e23fe commit 1435caa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/octocatalog-diff/catalog-util/command.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ def setup
6868
# enc?
6969
if @options[:enc]
7070
raise Errno::ENOENT, "Did not find ENC as expected at #{@options[:enc]}" unless File.file?(@options[:enc])
71-
cmdline << "--node_terminus=exec --external_nodes=#{Shellwords.escape(@options[:enc])}"
71+
cmdline << "--node_terminus=exec"
72+
cmdline << "--external_nodes=#{Shellwords.escape(@options[:enc])}"
7273
end
7374

7475
# Future parser?

0 commit comments

Comments
 (0)