module-puppetlabs-apt/manifests/release.pp

18 lines
276 B
ObjectPascal
Raw Normal View History

2010-04-27 22:38:28 +02:00
# release.pp
class apt::release (
$release_id
2010-04-27 22:38:28 +02:00
) {
2011-03-11 18:02:50 +01:00
include apt::params
$root = $apt::params::root
file { "${root}/apt.conf.d/01release":
owner => root,
group => root,
mode => '0644',
content => "APT::Default-Release \"${release_id}\";"
}
2010-04-27 22:38:28 +02:00
}