Merge pull request #537 from mhaskel/lucid_fix

Don't add puppetlabs sources for lucid
This commit is contained in:
Bryan Jen 2015-06-17 12:01:31 -07:00
commit 7971ec26d7

View file

@ -23,8 +23,9 @@ describe 'apt class' do
'preferences' => true, 'preferences' => true,
'preferences.d' => true, 'preferences.d' => true,
}, },
sources => { sources => ? $::lsbdiscodename {
'puppetlabs' => { 'lucid' => undef,
default => { 'puppetlabs' => {
'ensure' => present, 'ensure' => present,
'location' => 'http://apt.puppetlabs.com', 'location' => 'http://apt.puppetlabs.com',
'repos' => 'main', 'repos' => 'main',
@ -34,6 +35,7 @@ describe 'apt class' do
}, },
}, },
}, },
},
} }
EOS EOS