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

Class[Nftables::Bridges]['bridgenames'] contains a Regexp value. It will be converted to the String '/^br.+/' #83

Closed
traylenator opened this issue Mar 23, 2021 · 6 comments

Comments

@traylenator
Copy link
Collaborator

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.20.0

Noticed in our puppetserver logs:

2021-03-23T07:28:07.219+01:00 WARN  [qtp1376093148-42] [puppetserver] Puppet Class[Nftables::Bridges]['bridgenames'] contains a Regexp value. It will be converted to the String '/^br.+/'
@duritong
Copy link
Collaborator

I don't understand the issue. It should be a regexp and it also is:

Regexp $bridgenames = /^br.+/

Why is it complaining?

@traylenator
Copy link
Collaborator Author

Agree , i can't see what might be wrong if anything.

@traylenator
Copy link
Collaborator Author

https://tickets.puppetlabs.com/browse/PUP-7735 gives some insight.

@duritong
Copy link
Collaborator

Can't reproduce it with the example:

# puppet apply foo.pp
Notice: Scope(Class[main]): Regexp[/^.$/]
Notice: Scope(Class[Foo]): Regexp[/^.$/]
Notice: Compiled catalog for xyz in environment production in 0.02 seconds
Notice: Applied catalog in 0.30 seconds
# puppet --version
7.5.0

And I also don't see it in our puppetserver logs.

@traylenator
Copy link
Collaborator Author

traylenator commented Mar 25, 2021

@duritong that's with a Puppet 7 server you do not see message ? If so suggest we ignore.

@traylenator
Copy link
Collaborator Author

Ignoring as apparently not present in newer puppets.

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

No branches or pull requests

2 participants