Add alternative location for GPG keys for the zabbix and unsupported #987
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request (PR) description
Added two variables to allow users of this module to set an alternative resource location for the GPG keys, when operating in an airlocked environment where servers cannot talk out to repo.zabbix.com directly DNF/YUM will fail to check the GPG key check if the repositories are managed by this module. This will allow an internal GPG key to be referenced so that the puppet-zabbix module can be used on servers that cannot have direct internet access, this is especially important from an agent perspective.
Variables introduced:
Two checks have been introdcued under the repo.spec for RedHat to test that when these have been set that the GPG key has the alternative location set. Used https://example.com/bar to represent if it is a different location to where the repository is, ie repository location being https://example.com/foo.
This Pull Request (PR) fixes the following issues
No current issues relating to this that I'm aware of.