-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Support other versions of remi repo on redhat #669
base: master
Are you sure you want to change the base?
Support other versions of remi repo on redhat #669
Conversation
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.
Nice, I added some in-line comments for some points of attention and the docstrings need updating. Thanks!
Just checking in on this. Seems I have all the pieces in place, let me know otherwise. Thanks |
Just checking in, are there any more issues we need to address with this PR? |
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.
Oops, I missed the notification. Just a minor hitch.
@@ -13,6 +13,7 @@ | |||
/(?i:Amazon)/ => '6', | |||
default => '$releasever', # Yum var | |||
} | |||
$version = $yum_repo.match('.\d$')[0] |
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.
.\d$
feels weird: any char followed by a digit at the end of a line.
I guess what you mean here is any number of digits at the end of the string? \d+\z
Currently the class php::repo::redhat is hardcoded to create only the remi56 repo. This request removes that static value and creates based on $yum_repo. This allows for other versions such as remi_php72, etc..