Commit Graph

6 Commits (980949baba1a1e05d7ebb7cbdf4f3ab72540eeef)

Author SHA1 Message Date
lessmian 8f02a2fca3 Fixed remove_key 12 years ago
Michael DeHaan 65b826a8a8 'make pep8' is now clean 12 years ago
Michael DeHaan f83db16c37 This standardizes the apt_key module some
* improves error handling and reporting
* uses run_command to reduce code
* fails quicker on errors as opposed to return codes and tracebacks
* can now also specify the key as data versus needing to wget it from a file
12 years ago
Juha Litola 6e2d401a01 Removed apt_key tests, as they didn't test the real functionality.
Tests used heavily mocked version of the apt_key code, which meant that
it didn't properly test real life scenario.
12 years ago
Juha Litola 5d1536a7c5 Fixed add_key stalling indefinitely, and test code leaking into production setting 12 years ago
Jayson Vantuyl 732be11781 add apt_key module
Pretty straightforward.  Give it a URL with an exported GPG key for signing an
Apt repository.  It downloads it and will install it using apt-key.  It's even
smart enough to tell if it's already there (i.e. actually tells you if it
changed or not).
12 years ago