Add a type and provider to manage apt keys.
authorDaniele Sluijters <github@daenney.net>
Fri, 17 Jan 2014 08:11:56 +0000 (09:11 +0100)
committerDaniele Sluijters <github@daenney.net>
Tue, 18 Feb 2014 21:51:08 +0000 (22:51 +0100)
commit374101612c035ec5765c767d234d127d5c7a4870
tree42ec30dfad9dbd5ae1a703a666b4d74f51998d7b
parenta797bd7412745ce244e7da0c91d65f1595a8d519
Add a type and provider to manage apt keys.

This commits introduces:
 * The apt_key type;
 * The apt_key provider;
 * Unit tests for the type;
 * Beaker/acceptance tests for the type/provider.

The idea behind apt_key is that apt::key will simply become a wrapper
that uses apt_key. Being a native type/provider apt_key is a lot less
error prone than the current exec behaviour of apt::key and adds a few
nice bonuses like inventory capabilities for mcollective users.
lib/puppet/provider/apt_key/apt_key.rb [new file with mode: 0644]
lib/puppet/type/apt_key.rb [new file with mode: 0644]
spec/acceptance/apt_key_provider_spec.rb [new file with mode: 0644]
spec/unit/puppet/type/apt_key_spec.rb [new file with mode: 0644]