Open ghost opened 1 year ago
In #1084 the validation was already updated once, now I apparently have found another special case: ppa:c2d4u.team/c2d4u4.0+.
ppa:c2d4u.team/c2d4u4.0+
The ppa should be used correctly and should not fail the validation.
ppa
Steps to reproduce the behavior:
apt::ppa { 'ppa:c2d4u.team/c2d4u4.0+': ensure => present, }
Results in:
Evaluation Error: Error while evaluating a Function Call, Invalid PPA name: ppa:c2d4u.team/c2d4u4.0+
The minimal change might be my hotfix, but maybe there is a more general solution to this problem.
- if $name !~ /^ppa:([a-zA-Z0-9\-_.]+)\/([a-zA-z0-9\-_\.]+)$/ { + if $name !~ /^ppa:([a-zA-Z0-9\-_.]+)\/([a-zA-z0-9\-_\.\+]+)$/ {
Thank you for the great puppet module 🙇🏼
Describe the Bug
In #1084 the validation was already updated once, now I apparently have found another special case:
ppa:c2d4u.team/c2d4u4.0+
.Expected Behavior
The
ppa
should be used correctly and should not fail the validation.Steps to Reproduce
Steps to reproduce the behavior:
Results in:
Evaluation Error: Error while evaluating a Function Call, Invalid PPA name: ppa:c2d4u.team/c2d4u4.0+
Environment
Additional Context
The minimal change might be my hotfix, but maybe there is a more general solution to this problem.
Thank you for the great puppet module 🙇🏼