Guest User

Untitled

a guest
Apr 24th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. class dpkg {
  2. File { owner => "root",
  3. group => "root",
  4. mode => "0644"
  5. }
  6.  
  7. file { "/etc/apt/sources.list":
  8. source => "puppet:///debian/sources.list",
  9. ensure => present,
  10. notify => Exec["apt-refresh"];
  11. }
  12. exec { "apt-refresh":
  13. command => [ "/usr/bin/apt-get update", "/usr/bin/apt-file update" ],
  14. refreshonly => true
  15. }
  16.  
  17.  
  18. }
Add Comment
Please, Sign In to add comment