X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Finit.pp;h=453df3171f3e0191cf4ff9018229a6297f85582e;hb=0cbd24a4e59daa7c9e14d35ad7f38e00a93ba1dd;hp=dbf03329586177846ddf5c0bdad09663eefff347;hpb=396036892d81a10afb59a0cea287e620a60f7555;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/init.pp b/manifests/init.pp index dbf0332..453df31 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -14,9 +14,6 @@ class apt( if $update['frequency'] { validate_re($update['frequency'], $frequency_options) } - if $update['always'] { - validate_bool($update['always']) - } if $update['timeout'] { unless is_integer($update['timeout']) { fail('timeout value for update must be an integer') @@ -84,7 +81,7 @@ class apt( true => absent, } - if $_update['always'] { + if $_update['frequency'] == 'always' { Exec <| title=='apt_update' |> { refreshonly => false, }