Merge pull request #46 from nanliu/master
(#14287) Fix apt::pin resource for rspec-puppet.
This commit is contained in:
commit
34fcd1935e
1 changed files with 4 additions and 1 deletions
|
@ -30,7 +30,10 @@ define apt::source(
|
||||||
}
|
}
|
||||||
|
|
||||||
if $pin != false {
|
if $pin != false {
|
||||||
apt::pin { $release: priority => $pin } -> File["${name}.list"]
|
apt::pin { $release:
|
||||||
|
priority => $pin,
|
||||||
|
before => File["${name}.list"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { "${name} apt update":
|
exec { "${name} apt update":
|
||||||
|
|
Loading…
Reference in a new issue