apt keys: always deploy before Exec[refresh_apt], also with $custom_preferences

This commit is contained in:
varac 2013-03-14 20:01:35 +01:00
parent f16a0727dc
commit c8a28eb80e

View file

@ -128,7 +128,11 @@ class apt(
} }
if $custom_preferences != false { if $custom_preferences != false {
Exec['custom_keys'] { Exec['custom_keys'] {
before => File['apt_config'], before => [ Exec[refresh_apt], File['apt_config'] ]
}
} else {
Exec['custom_keys'] {
before => Exec[refresh_apt]
} }
} }
} }