diff --git a/manifests/repo/apt.pp b/manifests/repo/apt.pp index 50687a1cc..707c619dc 100644 --- a/manifests/repo/apt.pp +++ b/manifests/repo/apt.pp @@ -31,7 +31,7 @@ key_content => $key_content, } - if $pin { + if $pin != '' { validate_re($pin, '\d\d\d') apt::pin { 'rabbitmq': packages => 'rabbitmq-server',