26.02.11

Puppet definition to add Launchpad PPA repository

Link: https://gist.github.com/844735

The provided puppet definition(s) will allow you to add a PPA repository on a host managed by Puppet, e.g. by means of a class like this:

Code:

class blueyedppa {
  pparepo { "blueyed/ppa": apt_key => "7CC17CD2" }
}

I have created this to easily add the Current BOINC releases PPA to one of my hosts, and refactored a previously snippet for this.

Since I could not find anything for this, but questions asked about it, I like to share this. The actual code is available at the Gist linked to by this post.

By Daniel in Ubuntu, Audio2011-02-26 English (EU) Email

No feedback yet

Leave a comment


Your email address will not be revealed on this site.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)
You can just use your OpenID to provide your name, e-mail and url.
Seitenleiste