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

Invalid yum/apt repositories generated #273

Closed
tequeter opened this issue Sep 15, 2018 · 2 comments
Closed

Invalid yum/apt repositories generated #273

tequeter opened this issue Sep 15, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@tequeter
Copy link
Contributor

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5
  • Distribution: RHEL7
  • Module version: master branch

How to reproduce (e.g Puppet code you use)

class { 'gitlab':
}

What are you seeing

There is an incomplete yum repos gitlab_official_ce with just the baseurl in it, and a gitlab_official_ yum repos with all ce strings missing (name and URL). Yum cannot use either of those and the Gitlab package cannot be installed.

The apt sources suffer from the same bug.

What behaviour did you expect instead

A valid gitlab_official_ce definition usable by yum/apt.

Any additional information you'd like to impart

See test case in tequeter/puppet-gitlab@ea67bd4.

@LongLiveCHIEF
Copy link
Contributor

Thanks for opening this. If nothing else, it helps our changelog generator show bug fixes in the correct format. There's definitely a problem with this code, and as you pointed out in #271 hiera wasn't meant to work the way I wrote this bit of code for.

I left a few other comments in the PR, and I'm taking another look at what I was planning things to look like when I removed the deprecated v2 class params in light of some code you submitted in your PR.

@LongLiveCHIEF LongLiveCHIEF added the bug Something isn't working label Sep 15, 2018
@LongLiveCHIEF
Copy link
Contributor

closed via #271 and #272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants