We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 360cdb5 + 2f5689d commit 391e9e6Copy full SHA for 391e9e6
lib/puppet/parser/functions/docker_run_flags.rb
@@ -24,6 +24,8 @@ module Puppet::Parser::Functions
24
25
if opts['net'].is_a? String
26
flags << "--net #{opts['net'].shellescape}"
27
+ elsif opts['net'].is_a? Array
28
+ flags << "--net #{opts['net'].join(' --net ').shellescape}"
29
end
30
31
if opts['memory_limit']
0 commit comments