]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit - spec/classes/apt_spec.rb
(#12526) Add ability to reverse apt { disable_keys => true }
authorWilliam Van Hevelingen <blkperl@cat.pdx.edu>
Fri, 10 Feb 2012 00:18:14 +0000 (16:18 -0800)
committerWilliam Van Hevelingen <blkperl@cat.pdx.edu>
Thu, 23 Feb 2012 22:37:04 +0000 (14:37 -0800)
commit1160bcd6d1c190e9afc3399b6b4895f9606b213f
tree7f4da2b87b0a74a0126b64aa49fcb8bdecf2b4b4
parentc09f476b9dcfcd3d0b6c903c7b7f362dc02c3d63
(#12526) Add ability to reverse apt { disable_keys => true }

The setting `disable_keys => true` parameter in the apt module creates
/etc/apt/apt.conf.d/99unauth with the contents
"APT::Get::AllowUnauthenticated 1;". Changing `disable_keys`
does not remove this file. This patch makes it so that
`disable_keys => false` will remove /etc/apt/apt.conf.d/99unauth.
manifests/init.pp
spec/classes/apt_spec.rb