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

Add choria::group to manage groups #324

Merged
merged 2 commits into from
Mar 31, 2023
Merged

Add choria::group to manage groups #324

merged 2 commits into from
Mar 31, 2023

Conversation

smortex
Copy link
Member

@smortex smortex commented Feb 23, 2023

This is a follow-up to a previous comment and recent discussion on slack. This PR add a Puppet defined type to help managing groups of users in choria policies.

@smortex smortex force-pushed the groups branch 2 times, most recently from b2240b4 to d5c8ecf Compare February 23, 2023 19:26
@smortex smortex marked this pull request as ready for review February 23, 2023 23:43
@smortex
Copy link
Member Author

smortex commented Feb 23, 2023

CI on Ruby 2.4 can probably be dropped (anything older than 2.7 is EOL and 2.7 reach EOL in 1 month). Puppet 6 ship with Ruby 2.5. Puppet 7 ship with Ruby 2.7. Puppet 8 will ship Ruby 3.2.

Maybe we can just remove 2.4 for now, when Puppet 6 reach EOL (soon), we can remove 2.5 too. We can also add 3.1 / 3.2 anytime. But maybe this is for another PR?

@ripienaar
Copy link
Member

looks great, yeah feel free to do CI changes here, squash these commits to one then add one for the CI version changes etc. I havnt tested if all works on ruby 3 yet though myself

manifests/config.pp Outdated Show resolved Hide resolved
@ripienaar
Copy link
Member

I will review this one soon, been on a business trip!

Copy link
Member

@ripienaar ripienaar left a comment

Choose a reason for hiding this comment

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

LGTM thank you!

This defined type allow to conveniently manage groups of choria users.
Remove oldest version of Ruby (Puppet 6 is too modern for Ruby 2.4) and
add recent versions.

While here, switch from the legacy circleci ruby images to the new ones:
https://circleci.com/developer/images/image/cimg/ruby
@ripienaar
Copy link
Member

You can merge whenever you're ready @smortex

@smortex smortex merged commit 4685d4f into main Mar 31, 2023
@smortex smortex deleted the groups branch March 31, 2023 18:07
@smortex smortex restored the groups branch March 31, 2023 18:07
@smortex
Copy link
Member Author

smortex commented Mar 31, 2023

Merged. I'll keep the branch around until I update our Puppet config to not track it at $WORK next week.

@smortex smortex deleted the groups branch April 18, 2023 20:24
@smortex smortex restored the groups branch April 19, 2023 22:31
@ripienaar ripienaar deleted the groups branch June 17, 2023 14:27
@ripienaar ripienaar restored the groups branch June 17, 2023 14:27
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

Successfully merging this pull request may close these issues.

None yet

2 participants