#
define apt::setting (
Variant[String, Integer, Array] $priority = 50,
- Optional[Enum['file', 'present', 'absent']] $ensure = file,
+ Enum['file', 'present', 'absent'] $ensure = file,
Optional[String] $source = undef,
Optional[String] $content = undef,
Boolean $notify_update = true,
) {
-
if $content and $source {
fail('apt::setting cannot have both content and source')
}
ensure => $ensure,
owner => 'root',
group => 'root',
- mode => '0644',
content => $content,
source => $source,
notify => $_notify,