(MODULES-8418) Add parameter $auth_conf_owner
authorAndreas Voegele <andreas.voegele@it-designers.de>
Mon, 3 Dec 2018 18:49:47 +0000 (19:49 +0100)
committerAndreas Ntaflos <andreas.ntaflos@rise-world.com>
Thu, 3 Jan 2019 16:05:52 +0000 (17:05 +0100)
commit627eb0b0ce674f6d47c513ba6a96c625ef9ed917
tree8c5cd71b78cd47c205ec24eb7f7af06466863b68
parente4491a0e4415fbd0a45a226fac2035a2f61fa3a9
(MODULES-8418) Add parameter $auth_conf_owner

Starting from Debian 9 and Ubuntu 16.04 the user _apt owns the file
/etc/apt/auth.conf. In previous versions it is owned by root.

Set ownership of /etc/apt/auth.conf correctly based on OS version and
add spec tests to cover managing the file's owner under Ubuntu 14.04,
16.04 and 18.04 as well as Debian 7.0, 8.0 and 9.0.
manifests/init.pp
manifests/params.pp
spec/classes/apt_spec.rb
types/auth_conf_entry.pp