Added modules
This commit is contained in:
parent
c53c931217
commit
59ec520742
646 changed files with 35182 additions and 0 deletions
18
modules/apt/manifests/conf.pp
Normal file
18
modules/apt/manifests/conf.pp
Normal file
|
@ -0,0 +1,18 @@
|
|||
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',
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue