Skip to content

Commit

Permalink
Do not use ppa on precise.
Browse files Browse the repository at this point in the history
  • Loading branch information
nanliu committed May 22, 2012
1 parent 9c4f6f8 commit 51a7fff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
'Ubuntu': {
include 'apt'

apt::ppa { 'ppa:chris-lea/node.js':
before => Anchor['nodejs::repo'],
# Only use PPA for when necessary.
if $lsbdistcodename != 'Precise'{
apt::ppa { 'ppa:chris-lea/node.js':
before => Anchor['nodejs::repo'],
}
}
}

Expand Down

2 comments on commit 51a7fff

@jnicolson
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it intended that this only apply to Precise (because it's a LTS release or something like that)? Or should post precise releases also be using the package from the main tree?

@leonmax
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why don't you use ppa on precise? the version is super old on precise as well!

Please sign in to comment.