Revert "Import apt-key keys only if they don't exist"
This reverts commit f968813ee0ac7484d72522c3f2cc0ec55b4c4fa3.
Change-Id: I33246746532120c0447fbc814f7d438afb50c5e7
diff --git a/linux/system/repo.sls b/linux/system/repo.sls
index d8794d8..73bb33d 100644
--- a/linux/system/repo.sls
+++ b/linux/system/repo.sls
@@ -85,7 +85,6 @@
{% set repo_key = salt['hashutil.base64_b64encode'](repo.key) %}
cmd.run:
- name: "echo '{{ repo_key }}' | base64 -d | apt-key add -"
- - unless: "apt-key finger | grep -q \"$(echo '{{ repo_key }}' | base64 -d | gpg --with-fingerprint -o - | grep -wi 'fingerprint')\""
- require_in:
{%- if repo.get('default', False) %}
- file: default_repo_list