(#14287) Fix apt::pin resource for rspec-puppet.
The shorthand syntax cause rspec-puppet failure for external modules depending on the puppet-apt module. This patch uses the require metaparameter to avoid this issue.
This commit is contained in:
parent
482609fa39
commit
d1e0e3ee37
1 changed files with 4 additions and 1 deletions
|
@ -30,7 +30,10 @@ define apt::source(
|
|||
}
|
||||
|
||||
if $pin != false {
|
||||
apt::pin { $release: priority => $pin } -> File["${name}.list"]
|
||||
apt::pin { $release:
|
||||
priority => $pin,
|
||||
before => File["${name}.list"]
|
||||
}
|
||||
}
|
||||
|
||||
exec { "${name} apt update":
|
||||
|
|
Loading…
Reference in a new issue