(#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:
Nan Liu 2012-05-02 16:00:27 -07:00
parent 482609fa39
commit d1e0e3ee37

View file

@ -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":