Ask Your Question
0

Puppet v3 auth.conf regex engine rules

asked 2017-02-26 23:02:28 -0500

cm01 gravatar image

updated 2017-02-26 23:03:13 -0500

Hi Guys,

I'm going to be amending some of the rules in P3 auth.conf and wanted to check which regex engine rules to follow.
Not all regex engines are the same unfortunately.

Cheers
Chris

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-27 01:38:22 -0500

https://docs.puppet.com/puppet/4.9/co...fileauth.html

There's quite a few examples included in the docs.

It appears that auth.conf uses pretty ordinary Perl regex patterns. Is there a specific problem you're encountering?

edit flag offensive delete link more

Comments

I was wondering if I could do eg *.a.b.*.c ie match multiple '*' s. The examples only have 1 at the start. I may not use that, but I'd still like to know. I know Perl regexps fairly well, so that would be handy if true.

cm01 gravatar imagecm01 ( 2017-02-27 19:03:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-02-26 23:02:28 -0500

Seen: 37 times

Last updated: Feb 27