-
Notifications
You must be signed in to change notification settings - Fork 271
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 beaker-hiera to reduce duplication #699
Conversation
@ekohl needs a rebase |
793bbe8
to
145878c
Compare
@ekohl now it needs fixing ;) |
2adbb98
to
863895d
Compare
I'll look into using hiera for some variables. This also has the issue that a modulesync would overwrite it, but it's cleaner in the mean time. |
863895d
to
1effdcc
Compare
I've gone a bit further to clean it up. It does divert from modulesync and I've used my own fork of beaker-hiera (which should actually be part of beaker-puppet, but that code was lost in the beaker 4 migration). I'm going to work in integrating the right pieces in the right projects, but it removes all workarounds from the examples and really to the point. |
@ekohl, this pull request is currently not mergeable. Please rebase against the master branch and push again. If you have a remote called 'upstream' that points to this repository, you can do this by running:
This message was auto-generated by Foreman's prprocessor |
1effdcc
to
5e18608
Compare
5e18608
to
35bcc30
Compare
35bcc30
to
16bb199
Compare
4fe64cc
to
71fd841
Compare
💚 now. |
@@ -29,6 +29,7 @@ gem 'puppet-blacksmith', '>= 4.1.0', {"groups"=>["development"]} | |||
gem 'beaker', '>= 4.2.0', {"groups"=>["system_tests"]} | |||
gem 'beaker-docker', {"groups"=>["system_tests"]} | |||
gem 'beaker-hostgenerator', '>= 1.1.10', {"groups"=>["system_tests"]} | |||
gem 'beaker-hiera', {"git"=>"https://github.com/ekohl/beaker-hiera", "branch"=>"fix", "groups"=>["system_tests"]} |
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.
I'm not sure how to deal with this. I'll start nagging to get the upstream repo un-achived and the fix merged
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.
I'd say this is OK, as it's "only" about testing.
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.
Ok, let's accept this for now. There is talk about moving beaker from puppetlabs to Voxpupuli at which point I can solve it cleanly.
@@ -0,0 +1,2 @@ | |||
--- | |||
redis::globals::scl: rh-redis5 |
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.
Should we also switch to PG 12 while we're at it?
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.
I'm actually a bit surprised, this still works without it ;)
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.
Updated to include this now.
71fd841
to
e1d5031
Compare
e1d5031
to
31bc033
Compare
#829 takes everything except the hiera bits since I'm still unsure about the gem. It's also incompatible with modulesync. |
31bc033
to
bfd31b1
Compare
There's talk of beaker moving to Voxpupuli and that would allow me to merge it and deal with it properly. I think this is a good thing in the meanwhile to merge since it cleans up things. |
This removes duplication from the examples and allows it to only show what's really needed. It currently relies on my git fork of beaker-hiera since that's archived. It also updates to PostgreSQL 12 on EL7 since Rails 6 now needs that.
Rebased and updated to use PG 12 from SCL on EL7. |
merged, bedankt @ekohl! |
No description provided.