-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Conversation
6c2175b
to
2ddc3ec
Compare
|
Thanks @jkroepke ! |
| @@ -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] | |||
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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')
|
Thanks for the PR, much appreciated! 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. |
Fixes #277