Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add functionality to support apt pinning to more than just the release.
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
conf.pp
diff --git
a/manifests/conf.pp
b/manifests/conf.pp
index c1af710fd4b2a3b45f92f830a7eafeab27464935..03aab8e00270fb40ca699d1e4e286a8dd949bb71 100644
(file)
--- a/
manifests/conf.pp
+++ b/
manifests/conf.pp
@@
-1,14
+1,15
@@
define apt::conf (
define apt::conf (
+ $ensure = present,
$priority = '50',
$content
$priority = '50',
$content
-
) {
+) {
include apt::params
$apt_conf_d = $apt::params::apt_conf_d
file { "${apt_conf_d}/${priority}${name}":
include apt::params
$apt_conf_d = $apt::params::apt_conf_d
file { "${apt_conf_d}/${priority}${name}":
- ensure =>
fil
e,
+ ensure =>
$ensur
e,
content => $content,
owner => root,
group => root,
content => $content,
owner => root,
group => root,