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

allow metacharacters * and ? in sql file path #1544

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zivis
Copy link

@zivis zivis commented Mar 17, 2023

Hi,

I had a problem with another module (sensson/puppet-powerdns)
which has given /usr/share/doc/pdns-backend-mysql-*.*.*/schema.mysql.sql as sql to mysql::db
this failed with file … is invalid. A valid file path is expected.

Are the metacharacters ? and * problematic in these paths and should I fix it else where or would it be okay to use these?

@zivis zivis requested a review from a team as a code owner March 17, 2023 14:13
@CLAassistant
Copy link

CLAassistant commented Mar 17, 2023

CLA assistant check
All committers have signed the CLA.

@puppet-community-rangefinder
Copy link

mysql::db is a type

Breaking changes to this file WILL impact these 68 modules (exact match):
Breaking changes to this file MAY impact these 16 modules (near match):

This module is declared in 140 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@BuJo
Copy link
Contributor

BuJo commented Aug 25, 2023

Since sensson/puppet-powerdns@26ca5b6 this might not be necessary anymore.

However, it says it depends on the puppet mysql 15 (judging by the changes this might not be truly necessary), which in turn needs stdlib 9 which is backwards incompatible rendering many third/first-party modules unuseable. The new powerdns module might work, rendering the current PR moot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants