conf.pp 320 B

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