apt::source: Rename `trusted_source`.
authorDaniele Sluijters <daenney@users.noreply.github.com>
Thu, 5 Mar 2015 19:23:38 +0000 (20:23 +0100)
committerDaniele Sluijters <daenney@users.noreply.github.com>
Thu, 5 Mar 2015 19:23:38 +0000 (20:23 +0100)
commit90bade9561bb505b164c97cd5956697dd9b1f4d6
treec286bd9acb60f2412e2568ac643cb3592b9aa90c
parent2a289382997343db202f6e66aff15732f78993c6
apt::source: Rename `trusted_source`.

It is weird that `trusted_source` would default to `false` as that would
imply that we normally don't trust our sources. This is opposite to the
truth, by default we trust them but only if the Releases file can be
verified (meaning it is signed by a GPG key known to apt).

What we were telling apt is that it should trust this source even if the
Releases file and the repository is unsigned. This is better captured
with `allow_unsigned` and better highlights the danger of what you're
doing, installing packages from a source we cannot authenticate.
manifests/source.pp
spec/defines/source_spec.rb
templates/source.list.erb