diff --git a/manifests/plugin.pp b/manifests/plugin.pp index f3b64571..0eef3636 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -65,7 +65,7 @@ $docker_command = "${docker::params::docker_command} plugin" if ($::osfamily == 'windows') { - fail(translate(('Feature not implemented on windows.'))) + fail(translate('Feature not implemented on windows.')) } if $ensure == 'present' { diff --git a/manifests/run.pp b/manifests/run.pp index 82406f05..16ebca9a 100755 --- a/manifests/run.pp +++ b/manifests/run.pp @@ -152,11 +152,11 @@ } if ($remove_volume_on_start and !$remove_container_on_start) { - fail translate(("In order to remove the volume on start for ${title} you need to also remove the container")) + fail(translate("In order to remove the volume on start for ${title} you need to also remove the container")) } if ($remove_volume_on_stop and !$remove_container_on_stop) { - fail translate(("In order to remove the volume on stop for ${title} you need to also remove the container")) + fail(translate("In order to remove the volume on stop for ${title} you need to also remove the container")) } if $use_name { @@ -346,10 +346,10 @@ } default: { if $::osfamily != 'windows' { - fail translate(('Docker needs a Debian or RedHat based system.')) + fail(translate('Docker needs a Debian or RedHat based system.')) } elsif $ensure == 'present' { - fail translate(('Restart parameter is required for Windows')) + fail(translate('Restart parameter is required for Windows')) } } } diff --git a/manifests/services.pp b/manifests/services.pp index 5ea908fe..b6ea3c3c 100644 --- a/manifests/services.pp +++ b/manifests/services.pp @@ -108,10 +108,10 @@ if $ensure == 'absent' { if $update { - fail translate(('When removing a service you can not update it.')) + fail(translate('When removing a service you can not update it.')) } if $scale { - fail translate(('When removing a service you can not update it.')) + fail(translate('When removing a service you can not update it.')) } }