Displaying 1 result from an estimated 1 matches for "stable_priority".
2007 Aug 13
4
Strangeness with a definition
...r sure. Can anyone spot a problem with the
code below?
define manual_apt_get_update {
    exec { "/usr/bin/apt-get --force-yes --allow-unauthenticated update":
        path=>"/usr/sbin:/usr/bin:/sbin:/bin",
    }
}
define pinned_package($packages, $pinning_release ) {
    $stable_priority = "700"
    $pin_priority = "1001"
    file { "preferences":
        path=> "/etc/apt/preferences",
        content=> template("preferences.erb")
    }
    package { $packages:
        ensure=> installed,
        require=> [file["p...