X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fsource.pp;h=be743eb26ca207fc9a3c2b09f82a52caff3ae494;hb=a06eece5526b8838bcdd0a5f9b649b95727e09d7;hp=ad80977c68cda73576dbf30b30c06bcd00bbcd54;hpb=4815fa1f5482814e1d1a7e1626277aa35e3fc67c;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/source.pp b/manifests/source.pp index ad80977..be743eb 100644 --- a/manifests/source.pp +++ b/manifests/source.pp @@ -19,7 +19,7 @@ define apt::source( $_before = Apt::Setting["list-${title}"] - if ! $release { + if !$release { if $facts['lsbdistcodename'] { $_release = $facts['lsbdistcodename'] } else { @@ -50,13 +50,13 @@ define apt::source( $header = epp('apt/_header.epp') $sourcelist = epp('apt/source.list.epp', { - 'comment' => $comment, - 'includes' => $includes, - 'architecture' => $architecture, - 'allow_unsigned' => $allow_unsigned, - 'location' => $location, - 'release' => $_release, - 'repos' => $repos, + 'comment' => $comment, + 'includes' => $includes, + 'opt_architecture' => $architecture, + 'allow_unsigned' => $allow_unsigned, + 'location' => $location, + 'release' => $_release, + 'repos' => $repos, }) apt::setting { "list-${name}":