Don't add puppetlabs sources for lucid

They no longer exist
This commit is contained in:
Morgan Haskel 2015-06-17 11:59:40 -07:00
parent eaf5794502
commit 8d98105774

View file

@ -23,14 +23,16 @@ describe 'apt class' do
'preferences' => true,
'preferences.d' => true,
},
sources => {
'puppetlabs' => {
'ensure' => present,
'location' => 'http://apt.puppetlabs.com',
'repos' => 'main',
'key' => {
'id' => '47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30',
'server' => 'pgp.mit.edu',
sources => ? $::lsbdiscodename {
'lucid' => undef,
default => { 'puppetlabs' => {
'ensure' => present,
'location' => 'http://apt.puppetlabs.com',
'repos' => 'main',
'key' => {
'id' => '47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30',
'server' => 'pgp.mit.edu',
},
},
},
},