Puppet module to help manage Apt
Puppet
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits ahead of evolvingweb:master.
Latest commit e4449da May 24, 2013 root committed with Patrick Taylor Ramsey Add multiarch support for debian
Permalink
Failed to load latest commit information.
manifests Add multiarch support for debian May 23, 2013
templates Add multiarch support for debian May 23, 2013
LICENSE Update LICENSE. Apr 18, 2011
README.md Heading fix in README May 6, 2010

README.md

Apt module for Puppet

Description

Provides helpful definitions for dealing with Apt.

Usage

apt::force

Force a package to be installed from a specific release. Useful when using repositoires like Debian unstable in Ubuntu.

apt::force { "glusterfs-server":
	release => "unstable",
	version => '3.0.3',
	require => Apt::Source["debian_unstable"],
}

apt::pin

Add an apt pin for a certain release.

apt::pin { "karmic": priority => 700 }
apt::pin { "karmic-updates": priority => 700 }
apt::pin { "karmic-security": priority => 700 }

apt::ppa

Add a ppa repository using add-apt-repository. Somewhat experimental.

apt::ppa { "ppa:drizzle-developers/ppa": }

apt::release

Set the default apt release. Useful when using repositoires like Debian unstable in Ubuntu.

apt::release { "karmic": }

apt::source

Add an apt source to /etc/apt/sources.list.d/.

apt::source { "debian_unstable":
	location => "http://debian.mirror.iweb.ca/debian/",
	release => "unstable",
	repos => "main contrib non-free",
	required_packages => "debian-keyring debian-archive-keyring",
	key => "55BE302B",
	key_server => "subkeys.pgp.net",
	pin => "-10"
}