2010-04-27 22:38:28 +02:00
|
|
|
# release.pp
|
|
|
|
|
2011-05-30 19:22:04 +02:00
|
|
|
class apt::release (
|
|
|
|
$release_id
|
2010-04-27 22:38:28 +02:00
|
|
|
) {
|
2011-03-11 18:02:50 +01:00
|
|
|
|
2011-05-30 19:18:13 +02:00
|
|
|
include apt::params
|
|
|
|
|
2012-04-11 23:54:13 +02:00
|
|
|
$root = $apt::params::root
|
|
|
|
|
|
|
|
file { "${root}/apt.conf.d/01release":
|
2012-03-21 14:20:13 +01:00
|
|
|
owner => root,
|
|
|
|
group => root,
|
|
|
|
mode => '0644',
|
2011-05-30 19:22:04 +02:00
|
|
|
content => "APT::Default-Release \"${release_id}\";"
|
2011-05-30 19:24:06 +02:00
|
|
|
}
|
2010-04-27 22:38:28 +02:00
|
|
|
}
|