forked from evolvingweb/puppet-apt
-
Notifications
You must be signed in to change notification settings - Fork 462
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
Regex for ppa name issues with dotted versions #1057
Comments
The change was introduced in #1052 by @chelnak
|
LukasAud
added a commit
that referenced
this issue
Aug 30, 2022
Prior to this commit, one of our recent module updates introduced a regex validation step for the resource names in our ppa.pp manifest which would raise an issue if a valid resource name contained a dot (.). This commit aims to slightly adjust the regex validation so that it allows for dotted resource names. This PR should fix issue #1057.
LukasAud
added a commit
that referenced
this issue
Aug 31, 2022
Prior to this commit, one of our recent module updates introduced a regex validation step for the resource names in our ppa.pp manifest which would raise an issue if a valid resource name contained a dot (.). This commit aims to slightly adjust the regex validation so that it allows for dotted resource names. This PR should fix issue #1057.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
This is a valid PPA name from the MAAS documentation:
ppa:maas/3.1
but does not pass the regex validation in ppa.pp due to the.
in the version number3.1
.Found from the docs here: https://maas.io/docs/how-to-install-maas
Expected Behavior
It should pass regex checks and be added as normal
Steps to Reproduce
Steps to reproduce the behavior:
call this resource:
Environment
This should be effecting all versions
Additional Context
Issue is here: https://github.com/puppetlabs/puppetlabs-apt/blob/main/manifests/ppa.pp#L43
The text was updated successfully, but these errors were encountered: