Force owner and mode on ppa files
authorDaniel Lawrence <dannyla@linux.com>
Wed, 19 Feb 2014 00:41:01 +0000 (11:41 +1100)
committerDaniel Lawrence <dannyla@linux.com>
Wed, 19 Feb 2014 00:41:01 +0000 (11:41 +1100)
manifests/ppa.pp

index 14fbbceba41089f3e7ee683724c748c8c65c5941..3c4dc3194e9df8f88dcd5be400dc122a8e183339 100644 (file)
@@ -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'],
     }
   }