module-puppetlabs-apt/manifests/release.pp
Dan Bode 18f614b89b reformatted apt::ppa according to recommended
style.

removed require apt in favor of marking a
dependency.

converted release define into a class since
the resources are singletons.
2011-05-30 10:25:11 -07:00

15 lines
242 B
Puppet

# release.pp
class apt::release (
$release_id
) {
owner => root,
group => root,
mode => 644,
}
include apt::params
file { "${apt::params::root}/apt.conf.d/01release":
content => "APT::Default-Release \"${release_id}\";"
}