Add «main» to Ubuntu backports repos.

This commit is contained in:
Jonathan Araña Cruz 2012-06-29 13:15:13 +02:00
parent ecb3a0be23
commit 145a2853d4
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class apt::backports(
release => "${release_real}-backports", release => "${release_real}-backports",
repos => $::lsbdistid ? { repos => $::lsbdistid ? {
'debian' => 'main contrib non-free', 'debian' => 'main contrib non-free',
'ubuntu' => 'universe multiverse restricted', 'ubuntu' => 'main universe multiverse restricted',
}, },
key => $::lsbdistid ? { key => $::lsbdistid ? {
'debian' => '55BE302B', 'debian' => '55BE302B',

View file

@ -13,7 +13,7 @@ describe 'apt::backports', :type => :class do
it { should contain_apt__source('backports').with({ it { should contain_apt__source('backports').with({
'location' => 'http://old-releases.ubuntu.com/ubuntu', 'location' => 'http://old-releases.ubuntu.com/ubuntu',
'release' => 'karmic-backports', 'release' => 'karmic-backports',
'repos' => 'universe multiverse restricted', 'repos' => 'main universe multiverse restricted',
'key' => '437D05B5', 'key' => '437D05B5',
'key_server' => 'pgp.mit.edu', 'key_server' => 'pgp.mit.edu',
'pin' => '200', 'pin' => '200',