Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9124017
config.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
572 B
Subscribers
None
config.rb
View Options
# frozen_string_literal: true
shared_examples
'config'
do
|
_params
,
_facts
|
docker_users
=
_params
[
'docker_users'
]
it
{
is_expected
.
to
contain_class
(
'docker::config'
)
}
unless
docker_users
.
empty?
docker_users
.
each
do
|
user
|
if
%r{windows}
.
match?
(
_facts
[
:os
][
'family'
]
)
it
{
is_expected
.
to
contain_docker__windows_account
(
user
)
}
else
it
{
is_expected
.
to
contain_docker__system_user
(
user
)
}
include_examples
'system_user'
,
user
,
_params
[
'docker_group'
]
end
end
end
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 21, 6:34 PM (2 w, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3356766
Attached To
R205 puppet-puppetlabs-docker
Event Timeline
Log In to Comment