Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing "/" in GPG URL for RHEL bases OS #14

Closed
kanisae opened this issue Feb 8, 2018 · 1 comment
Closed

Missing "/" in GPG URL for RHEL bases OS #14

kanisae opened this issue Feb 8, 2018 · 1 comment

Comments

@kanisae
Copy link

kanisae commented Feb 8, 2018

When attempting to install on CentOS 7, I was getting 404 errors during the yum transaction like below:

`Error: /Stage[main]/Bareos::Client/Package[bareos-filedaemon-python-plugin]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install bareos-filedaemon-python-plugin' returned 1: warning: /var/cache/yum/x86_64/7/bareos/packages/bareos-filedaemon-17.2.4-9.1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 093bfba2: NOKEY

GPG key retrieval failed: [Errno 14] HTTP Error 404 - Not Found`

Looking into it, the URL was missing a "/" in repository.pp, here is my diff of fixing it.

`

@@ -40,7 +40,7 @@ class bareos::repository(

  |   | name => 'bareos',
  |   | baseurl => $location,
  |   | gpgcheck => '1',
  |   | - gpgkey => "${location}repodata/repomd.xml.key",
  |   | + gpgkey => "${location}/repodata/repomd.xml.key",
  |   | priority => '1',
  |   | }
  |   | }

`

@project0
Copy link
Collaborator

project0 commented Feb 8, 2018

will be fixed with #13

@project0 project0 closed this as completed Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants