Ask Your Question

Puppet v3 auth.conf regex engine rules

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

cm01 gravatar image

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

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.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

luksi1 gravatar image

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


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 -0600 )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


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

Seen: 53 times

Last updated: Feb 27 '17