X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=manifests%2Fsetting.pp;h=aa1616162c11b34db8ec2a600c9830cbb4f94580;hb=6004f13a3a6c1baf4612316b71abff796914789b;hp=e743a5c2de80b17202d8546d0d76f16a70535582;hpb=6c1fd8e819cc8ffb44ac187bb0fa7051d2958cc6;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/setting.pp b/manifests/setting.pp index e743a5c..aa16161 100644 --- a/manifests/setting.pp +++ b/manifests/setting.pp @@ -21,12 +21,11 @@ # 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') } @@ -69,7 +68,6 @@ define apt::setting ( ensure => $ensure, owner => 'root', group => 'root', - mode => '0644', content => $content, source => $source, notify => $_notify,