Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9125748
get_docker_plugin_enable_flags.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
359 B
Subscribers
None
get_docker_plugin_enable_flags.rb
View Options
def
get_docker_plugin_enable_flags
(
args
)
flags
=
[]
flags
<<
'--force'
if
args
[
'force_remove'
]
==
true
if
args
[
'plugin_alias'
]
&&
args
[
'plugin_alias'
].
to_s
!=
'undef'
flags
<<
"'
#{
args
[
'plugin_alias'
]
}
'"
elsif
args
[
'plugin_name'
]
&&
args
[
'plugin_name'
].
to_s
!=
'undef'
flags
<<
"'
#{
args
[
'plugin_name'
]
}
'"
end
flags
.
flatten
.
join
(
' '
)
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sat, Jun 21, 9:17 PM (4 w, 17 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3371166
Attached To
R205 puppet-puppetlabs-docker
Event Timeline
Log In to Comment