Fix architecture fact overriding unset `architecture` source option
authorDominic Cleal <dominic@cleal.org>
Mon, 24 Apr 2017 07:30:15 +0000 (08:30 +0100)
committerDominic Cleal <dominic@cleal.org>
Mon, 24 Apr 2017 07:33:51 +0000 (08:33 +0100)
commitc9a7fe36241831bf95426795e38edaf203396f20
tree5de94e14bbe43d6450f8fca410a0bff4f4625d23
parent03681047ed16a1f88d63fe1cd07ea85815257b6f
Fix architecture fact overriding unset `architecture` source option

When the `architecture` parameter to apt::source wasn't set, the
`architecture` fact would be used instead, causing the source to always
be limited by the architecture of the host.

The EPP variable has been renamed to avoid clashing with the fact name.
manifests/source.pp
spec/defines/source_spec.rb
templates/source.list.epp