From: Daniel Lawrence Date: Wed, 19 Feb 2014 00:41:01 +0000 (+1100) Subject: Force owner and mode on ppa files X-Git-Tag: 1.4.2~6^2~4 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b4e430f4db1a99d646aaf8d247346fc9176df6ca;p=puppet-modules%2Fpuppetlabs-apt.git Force owner and mode on ppa files (cherry picked from commit 0bf44fc167405a6a0e6faae35f3fa4caa9ce8658) --- diff --git a/manifests/ppa.pp b/manifests/ppa.pp index 7ec6b20..f262980 100644 --- a/manifests/ppa.pp +++ b/manifests/ppa.pp @@ -67,6 +67,9 @@ define apt::ppa( file { "${sources_list_d}/${sources_list_d_filename}": ensure => 'absent', + mode => '0644', + owner => 'root', + gruop => 'root', notify => Exec['apt_update'], } }