apt keys: always deploy before Exec[refresh_apt], also with $custom_preferences
This commit is contained in:
parent
f16a0727dc
commit
c8a28eb80e
1 changed files with 5 additions and 1 deletions
|
@ -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]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue