mirror of https://github.com/zulip/zulip.git
19 lines
308 B
ObjectPascal
19 lines
308 B
ObjectPascal
|
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',
|
||
|
}
|
||
|
}
|