fuel-library/deployment/puppet/apt/manifests/conf.pp
Longgeek d2b3d6ae68 Update the puppet coding style
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
2014-07-11 10:18:16 +00:00

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',
}
}