d2b3d6ae68
Disable check in rakefile: * disable 80 chars * disable variable scope * disable class inherits from params class * disable class parameter defaults The remaining work is in the correction puppet code specifications Change-Id: I4448f1776ca3c7c3ea4a3bb64672785a62572663 Closes-Bug: #1338228
22 lines
352 B
Puppet
22 lines
352 B
Puppet
# conf.pp
|
|
# conf is the configuration file
|
|
|
|
define apt::conf (
|
|
$content,
|
|
$ensure = present,
|
|
$priority = '50'
|
|
) {
|
|
|
|
include apt::params
|
|
|
|
$apt_conf_d = $apt::params::apt_conf_d
|
|
|
|
file { "${apt_conf_d}/${priority}${name}":
|
|
ensure => $ensure,
|
|
content => $content,
|
|
owner => root,
|
|
group => root,
|
|
mode => '0644',
|
|
}
|
|
}
|