Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class dpkg {
- File { owner => "root",
- group => "root",
- mode => "0644"
- }
- file { "/etc/apt/sources.list":
- source => "puppet:///debian/sources.list",
- ensure => present,
- notify => Exec["apt-refresh"];
- }
- exec { "apt-refresh":
- command => [ "/usr/bin/apt-get update", "/usr/bin/apt-file update" ],
- refreshonly => true
- }
- }
Add Comment
Please, Sign In to add comment