File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 65
65
$docker_command = " ${docker::params::docker_command} plugin"
66
66
67
67
if ($::osfamily == ' windows' ) {
68
- fail(translate(( ' Feature not implemented on windows.' ) ))
68
+ fail(translate(' Feature not implemented on windows.' ))
69
69
}
70
70
71
71
if $ensure == ' present' {
Original file line number Diff line number Diff line change 158
158
}
159
159
160
160
if ($remove_volume_on_start and !$remove_container_on_start ) {
161
- fail translate( (" In order to remove the volume on start for ${title} you need to also remove the container" ))
161
+ fail(translate (" In order to remove the volume on start for ${title} you need to also remove the container" ))
162
162
}
163
163
164
164
if ($remove_volume_on_stop and !$remove_container_on_stop ) {
165
- fail translate( (" In order to remove the volume on stop for ${title} you need to also remove the container" ))
165
+ fail(translate (" In order to remove the volume on stop for ${title} you need to also remove the container" ))
166
166
}
167
167
168
168
if $use_name {
352
352
}
353
353
default: {
354
354
if $::osfamily != ' windows' {
355
- fail translate( (' Docker needs a Debian or RedHat based system.' ))
355
+ fail(translate (' Docker needs a Debian or RedHat based system.' ))
356
356
}
357
357
elsif $ensure == ' present' {
358
- fail translate( (' Restart parameter is required for Windows' ))
358
+ fail(translate (' Restart parameter is required for Windows' ))
359
359
}
360
360
}
361
361
}
Original file line number Diff line number Diff line change 108
108
109
109
if $ensure == ' absent' {
110
110
if $update {
111
- fail translate( (' When removing a service you can not update it.' ))
111
+ fail(translate (' When removing a service you can not update it.' ))
112
112
}
113
113
if $scale {
114
- fail translate( (' When removing a service you can not update it.' ))
114
+ fail(translate (' When removing a service you can not update it.' ))
115
115
}
116
116
}
117
117
You can’t perform that action at this time.
0 commit comments