d522877cdd
The hash passing to the with method is cleaner and closer to puppet code, so all of the with_$param have been replaced with with($hash). This also includes two minor whitspace changes to unstable.pp and source.pp. This also replaces the ternary switch on param_set with a hash merge, which is cleaner and will support more use cases.
21 lines
584 B
Puppet
21 lines
584 B
Puppet
# unstable.pp
|
|
|
|
class apt::debian::unstable {
|
|
|
|
# deb http://debian.mirror.iweb.ca/debian/ unstable main contrib non-free
|
|
# deb-src http://debian.mirror.iweb.ca/debian/ unstable main contrib non-free
|
|
# Key: 55BE302B Server: subkeys.pgp.net
|
|
# debian-keyring
|
|
# debian-archive-keyring
|
|
|
|
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"
|
|
}
|
|
|
|
}
|