瀏覽代碼

Set the pin priority before adding the source (Fix #10449)

Matthias Pigulla 12 年之前
父節點
當前提交
864302a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      manifests/source.pp

+ 1 - 1
manifests/source.pp

@@ -26,7 +26,7 @@ define apt::source(
   }
 
   if $pin != false {
-    apt::pin { "${release}": priority => "${pin}" }
+    apt::pin { "${release}": priority => "${pin}" } -> File["${name}.list"]
   }
 
   exec { "${name} apt update":