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
Changed PPA manifest and tests for new package which started in Quantal
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
conf.pp
diff --git
a/manifests/conf.pp
b/manifests/conf.pp
index fa7f97d435f6001c3bea06cf2f50e921f2a3f4fa..3c4cb1975cb3551a1a642f2155111e0932a118e2 100644
(file)
--- a/
manifests/conf.pp
+++ b/
manifests/conf.pp
@@
-1,6
+1,7
@@
define apt::conf (
define apt::conf (
- $priority = '50',
- $content
+ $content,
+ $ensure = present,
+ $priority = '50'
) {
include apt::params
) {
include apt::params
@@
-8,7
+9,7
@@
define apt::conf (
$apt_conf_d = $apt::params::apt_conf_d
file { "${apt_conf_d}/${priority}${name}":
$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,