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
Merge pull request #332 from zacharyalexstern/fix_readme_typo
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
ppa.pp
diff --git
a/manifests/ppa.pp
b/manifests/ppa.pp
index 3c4dc3194e9df8f88dcd5be400dc122a8e183339..a55e1e0e5c7a075b04ee4861370d40e107a42254 100644
(file)
--- a/
manifests/ppa.pp
+++ b/
manifests/ppa.pp
@@
-3,7
+3,7
@@
define apt::ppa(
$ensure = 'present',
$release = $::lsbdistcodename,
define apt::ppa(
$ensure = 'present',
$release = $::lsbdistcodename,
- $options =
'-y'
+ $options =
$apt::params::ppa_options,
) {
include apt::params
include apt::update
) {
include apt::params
include apt::update
@@
-15,7
+15,7
@@
define apt::ppa(
}
if $::operatingsystem != 'Ubuntu' {
}
if $::operatingsystem != 'Ubuntu' {
- fail(
"apt::ppa is currently supported on Ubuntu only."
)
+ fail(
'apt::ppa is currently supported on Ubuntu only.'
)
}
$filename_without_slashes = regsubst($name, '/', '-', 'G')
}
$filename_without_slashes = regsubst($name, '/', '-', 'G')
@@
-69,7
+69,7
@@
define apt::ppa(
ensure => 'absent',
mode => '0644',
owner => 'root',
ensure => 'absent',
mode => '0644',
owner => 'root',
- gr
uo
p => 'root',
+ gr
ou
p => 'root',
notify => Exec['apt_update'],
}
}
notify => Exec['apt_update'],
}
}