Commit Graph

6 Commits (1e5d5fc2639c2e147df10b58b73aeda4196efd32)

Author SHA1 Message Date
lessmian 8a49dac5d1 Fixed remove_key 12 years ago
Michael DeHaan 8097fd18a2 'make pep8' is now clean 12 years ago
Michael DeHaan 4d8f3b0924 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 2796603c92 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 05f5b5b279 Fixed add_key stalling indefinitely, and test code leaking into production setting 12 years ago
Jayson Vantuyl ad6373430b 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