From 989b95a12d4a880b4be203291c4c94f6929e2373 Mon Sep 17 00:00:00 2001 From: Zach Leslie Date: Mon, 21 May 2012 14:17:37 -0700 Subject: [PATCH] Fixup name issue with apt::backports The '.list' is not needed since the apt::source type handles this. White space alignment. --- manifests/backports.pp | 2 +- manifests/source.pp | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/manifests/backports.pp b/manifests/backports.pp index ecc7504..147801e 100644 --- a/manifests/backports.pp +++ b/manifests/backports.pp @@ -28,7 +28,7 @@ class apt::backports( $release_real = downcase($release) - apt::source { 'backports.list': + apt::source { 'backports': location => $location, release => "${release_real}-backports", repos => $::lsbdistid ? { diff --git a/manifests/source.pp b/manifests/source.pp index e55cafd..f3fc7b9 100644 --- a/manifests/source.pp +++ b/manifests/source.pp @@ -2,17 +2,17 @@ # add an apt source define apt::source( - $ensure = present, - $location = '', - $release = $lsbdistcodename, - $repos = 'main', - $include_src = true, + $ensure = present, + $location = '', + $release = $lsbdistcodename, + $repos = 'main', + $include_src = true, $required_packages = false, - $key = false, - $key_server = 'keyserver.ubuntu.com', - $key_content = false, - $key_source = false, - $pin = false + $key = false, + $key_server = 'keyserver.ubuntu.com', + $key_content = false, + $key_source = false, + $pin = false ) { include apt::params -- 2.45.2