From 0f26779a2a9a7b73505dc87284f4baa4eb9842b0 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Wed, 25 Mar 2015 17:22:52 -0400 Subject: [PATCH] Example updates --- examples/backports.pp | 7 +++---- examples/disable_keys.pp | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/backports.pp b/examples/backports.pp index f3ca34c..ed8213f 100644 --- a/examples/backports.pp +++ b/examples/backports.pp @@ -1,7 +1,7 @@ $location = $::apt::distcodename ? { 'squeeze' => 'http://backports.debian.org/debian-backports', 'wheezy' => 'http://ftp.debian.org/debian/', - default => 'http://us.archive.ubuntu.com/ubuntu', + default => 'http://archive.ubuntu.com/ubuntu', } if $::apt::distid == 'debian' { @@ -16,7 +16,6 @@ if $::apt::distid == 'debian' { # set up the actual backports apt::pin { 'backports': - before => Apt::Source['backports'], release => "${release}-backports", priority => 200, } @@ -26,7 +25,7 @@ apt::source { 'backports': release => "${release}-backports", repos => $repos, key => { - id => $key, - server => 'pgp.mit.edu', + id => $key, + server => 'pgp.mit.edu', }, } diff --git a/examples/disable_keys.pp b/examples/disable_keys.pp index ad61df0..50d0ea8 100644 --- a/examples/disable_keys.pp +++ b/examples/disable_keys.pp @@ -1,4 +1,4 @@ -#Note: This is generally a bad idea. You should not disable keys. +#Note: This is generally a bad idea. You should not disable verifying repository signatures. apt::conf { 'unauth': priority => 99, content => 'APT::Get::AllowUnauthenticated 1;' -- 2.45.2