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

Use ubuntu apt repo if we are on ubuntu #279

Merged
merged 1 commit into from
Oct 13, 2018

Conversation

jkroepke
Copy link
Contributor

Fixes #277

@jkroepke jkroepke changed the title Use ubuntu location if we are on ubuntu Use ubuntu apt repo if we are on ubuntu Oct 13, 2018
@bastelfreak
Copy link
Member

Thanks @jkroepke !

@bastelfreak bastelfreak merged commit d05e7b8 into voxpupuli:master Oct 13, 2018
@bastelfreak bastelfreak added the bug Something isn't working label Oct 13, 2018
@jkroepke jkroepke deleted the fix/deb_ubuntu branch October 13, 2018 18:30
@@ -25,6 +25,14 @@
it { is_expected.to contain_apt__source('gitlab_official_ee').with_ensure('absent') }
it { is_expected.not_to contain_apt__source('gitlab_official_') }
it { is_expected.not_to contain_yumrepo('gitlab_official_ce') }
case facts[:operatingsystem]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jkroepke if you get a chance can you submit a pull that uses modern fact for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last time I'm writing spec test, modern facts are simply not work or not defined by the module you are using for generated the facts.

No idea whats the current state is.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For information :
structured facts with rspec-puppet : facts[:os]['family']
structured facts with beaker-rspec : fact('os.family')

@LongLiveCHIEF
Copy link
Contributor

Thanks for the PR, much appreciated! Any other issues installing on Ubuntu?

@jkroepke
Copy link
Contributor Author

Any other issues installing on Ubuntu?

I just upgraded from 2.x, puppet changed nothing expect the apt file.

I also missed the CI Runner part right now. It's fine to split runner and gitlab into a separate modules, but you should release the runner module. Otherwise a lot of people can not upgrade to the current 3.0.

At the end thanks for still supporting this over all the years.

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

Successfully merging this pull request may close these issues.

4 participants