conf.pp 308 B

123456789101112131415161718
  1. define apt::conf (
  2. $content,
  3. $ensure = present,
  4. $priority = '50'
  5. ) {
  6. include apt::params
  7. $apt_conf_d = $apt::params::apt_conf_d
  8. file { "${apt_conf_d}/${priority}${name}":
  9. ensure => $ensure,
  10. content => $content,
  11. owner => root,
  12. group => root,
  13. mode => '0644',
  14. }
  15. }