Skip to content

Commit

Permalink
Merge pull request #537 from mhaskel/lucid_fix
Browse files Browse the repository at this point in the history
Don't add puppetlabs sources for lucid
  • Loading branch information
bmjen committed Jun 17, 2015
2 parents eaf5794 + 8d98105 commit 7971ec2
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions spec/acceptance/apt_spec.rb
Expand Up @@ -23,14 +23,16 @@ class { 'apt':
'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',
},
},
},
},
Expand Down

0 comments on commit 7971ec2

Please sign in to comment.