We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d8eaf4 commit 90feeb0Copy full SHA for 90feeb0
lib/puppet/parser/functions/docker_run_flags.rb
@@ -72,17 +72,17 @@ module Puppet::Parser::Functions
72
73
multi_flags = ->(values, fmt) {
74
filtered = [values].flatten.compact
75
- filtered.map { |val| (fmt + params_join_char) % val }
+ filtered.map { |val| (fmt + params_join_char) % val.shellescape }
76
}
77
78
[
79
['--dns %s', 'dns'],
80
['--dns-search %s', 'dns_search'],
81
['--expose=%s', 'expose'],
82
['--link %s', 'links'],
83
- ['--lxc-conf="%s"', 'lxc_conf'],
+ ['--lxc-conf=%s', 'lxc_conf'],
84
['--volumes-from %s', 'volumes_from'],
85
- ['-e "%s"', 'env'],
+ ['-e %s', 'env'],
86
['--env-file %s', 'env_file'],
87
['-p %s', 'ports'],
88
['-l %s', 'labels'],
0 commit comments