Created
September 15, 2012 18:58
-
-
Save k9ert/3729311 to your computer and use it in GitHub Desktop.
Defining reasonable apt-archives
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# stable.pp | |
class 700-stable { | |
include apt | |
# deb http://debian.mirror.iweb.ca/debian/ testing main contrib non-free | |
# deb-src http://debian.mirror.iweb.ca/debian/ testing main contrib non-free | |
# Key: 55BE302B Server: subkeys.pgp.net | |
# debian-keyring | |
# debian-archive-keyring | |
apt::source { 'debian_stable': | |
location => 'http://ftp.de.debian.org/debian/', | |
release => "stable", | |
repos => 'main contrib non-free', | |
required_packages => 'debian-keyring debian-archive-keyring', | |
key => '55BE302B', | |
key_server => 'subkeys.pgp.net', | |
#pin => '700', | |
include_src => 'true', | |
} | |
apt::source { 'debian_stable_updates': | |
location => 'http://ftp.de.debian.org/debian/', | |
release => "stable-updates", | |
repos => 'main contrib non-free', | |
required_packages => 'debian-keyring debian-archive-keyring', | |
key => '473041FA', | |
key_server => 'subkeys.pgp.net', | |
#pin => '700', | |
include_src => 'true', | |
} | |
apt::pin { '900_stable': | |
ensure => present, | |
packages => '*', | |
priority => 900, | |
release => 'stable', | |
origin => '', | |
originator => '', | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# testing.pp | |
class 700-testing { | |
include apt | |
# deb http://debian.mirror.iweb.ca/debian/ testing main contrib non-free | |
# deb-src http://debian.mirror.iweb.ca/debian/ testing main contrib non-free | |
# Key: 55BE302B Server: subkeys.pgp.net | |
# debian-keyring | |
# debian-archive-keyring | |
apt::source { 'debian_700-testing': | |
location => 'http://ftp.de.debian.org/debian/', | |
release => "testing", | |
repos => 'main contrib non-free', | |
required_packages => 'debian-keyring debian-archive-keyring', | |
key => '55BE302B', | |
key_server => 'subkeys.pgp.net', | |
#pin => '700', | |
} | |
apt::pin { '700_testing': | |
ensure => present, | |
packages => '*', | |
priority => 700, | |
release => 'testing', | |
origin => '', | |
originator => '', | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# testing.pp | |
class 900-stable { | |
include apt | |
# deb http://debian.mirror.iweb.ca/debian/ testing main contrib non-free | |
# deb-src http://debian.mirror.iweb.ca/debian/ testing main contrib non-free | |
# Key: 55BE302B Server: subkeys.pgp.net | |
# debian-keyring | |
# debian-archive-keyring | |
apt::source { 'debian_stable': | |
location => 'http://ftp.de.debian.org/debian/', | |
release => "stable", | |
repos => 'main contrib non-free', | |
required_packages => 'debian-keyring debian-archive-keyring', | |
key => '55BE302B', | |
key_server => 'subkeys.pgp.net', | |
#pin => '900', | |
include_src => 'true', | |
} | |
apt::source { 'debian_stable_security': | |
location => 'http://ftp.de.debian.org/debian-security/', | |
release => "stable/updates", | |
repos => 'main contrib non-free', | |
required_packages => 'debian-keyring debian-archive-keyring', | |
key => '473041FA', | |
key_server => 'subkeys.pgp.net', | |
#pin => '900', | |
include_src => 'true', | |
} | |
apt::source { 'debian_squeeze_proposed_updates': | |
location => 'http://ftp.de.debian.org/debian/', | |
release => "stable-updates", | |
repos => 'main contrib non-free', | |
required_packages => 'debian-keyring debian-archive-keyring', | |
key => '473041FA', | |
key_server => 'subkeys.pgp.net', | |
#pin => '900', | |
include_src => 'true', | |
} | |
apt::pin { '900_stable': | |
ensure => present, | |
packages => '*', | |
priority => 900, | |
release => 'stable', | |
origin => '', | |
originator => '', | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# testing.pp | |
class 900-testing { | |
include apt | |
# deb http://debian.mirror.iweb.ca/debian/ testing main contrib non-free | |
# deb-src http://debian.mirror.iweb.ca/debian/ testing main contrib non-free | |
# Key: 55BE302B Server: subkeys.pgp.net | |
# debian-keyring | |
# debian-archive-keyring | |
apt::source { 'debian_900-testing': | |
location => 'http://ftp.de.debian.org/debian/', | |
release => "testing", | |
repos => 'main contrib non-free', | |
required_packages => 'debian-keyring debian-archive-keyring', | |
key => '55BE302B', | |
key_server => 'subkeys.pgp.net', | |
#pin => '900', | |
} | |
apt::pin { '900_testing': | |
ensure => present, | |
packages => '*', | |
priority => 900, | |
release => 'testing', | |
origin => '', | |
originator => '', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment