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 #227 from daniellawrence/file_perms_apt_ppa
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
ppa.pp
diff --git
a/manifests/ppa.pp
b/manifests/ppa.pp
index 7ec6b20375d37358a096fa7cc0765923fe78401f..8a3b6f5f594e136113d697f5e89e73eeb61213f0 100644
(file)
--- a/
manifests/ppa.pp
+++ b/
manifests/ppa.pp
@@
-1,10
+1,10
@@
# ppa.pp
define apt::ppa(
# ppa.pp
define apt::ppa(
+ $ensure = 'present',
$release = $::lsbdistcodename,
$options = $apt::params::ppa_options,
) {
$release = $::lsbdistcodename,
$options = $apt::params::ppa_options,
) {
- $ensure = 'present'
include apt::params
include apt::update
include apt::params
include apt::update
@@
-67,6
+67,9
@@
define apt::ppa(
file { "${sources_list_d}/${sources_list_d_filename}":
ensure => 'absent',
file { "${sources_list_d}/${sources_list_d_filename}":
ensure => 'absent',
+ mode => '0644',
+ owner => 'root',
+ gruop => 'root',
notify => Exec['apt_update'],
}
}
notify => Exec['apt_update'],
}
}