From: varac Date: Thu, 14 Mar 2013 19:01:35 +0000 (+0100) Subject: apt keys: always deploy before Exec[refresh_apt], also with $custom_preferences X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c8a28eb80ec87e65d5cacb2d109d4c0bcbbc76db;p=puppet-apt.git apt keys: always deploy before Exec[refresh_apt], also with $custom_preferences --- diff --git a/manifests/init.pp b/manifests/init.pp index 020c1cc..0f60efb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -128,7 +128,11 @@ class apt( } if $custom_preferences != false { Exec['custom_keys'] { - before => File['apt_config'], + before => [ Exec[refresh_apt], File['apt_config'] ] + } + } else { + Exec['custom_keys'] { + before => Exec[refresh_apt] } } }