You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Virtual map can't be created because of limitation of symbols to match pattern. Regexp map is formatted the same way as hash map, but it is impossible to build even simple regular expressions using only very limited amount of symbols: *+.0-9=@-Z\\_a-z-
What behaviour did you expect instead
Pattern should use additionally at least these symbols: ^][$/()|?}{
Output log
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): Opening augeas with root /, lens path , flags 64
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): Augeas version 1.12.0 is installed
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): Will attempt to save and only run if files changed
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): sending command 'defnode' with params ["entry", "/files/etc/postfix/virtual_regexp/pattern[. = '/.+@.+/']", "/.+@.+/"]
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): sending command 'rm' with params ["$entry/destination"]
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): sending command 'set' with params ["$entry/destination[1]", "root"]
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): Put failed on one or more files, output from /augeas//error:
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): /augeas/files/etc/postfix/virtual_regexp/error = put_failed
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): /augeas/files/etc/postfix/virtual_regexp/error/path = /files/etc/postfix/virtual_regexp/
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): /augeas/files/etc/postfix/virtual_regexp/error/lens = /opt/puppetlabs/puppet/share/augeas/lenses/dist/postfix_virtual.aug:51.10-.47:
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): /augeas/files/etc/postfix/virtual_regexp/error/message = Unexpected node '/files/etc/postfix/virtual_regexp/pattern[2]': can not match tree
{ "pattern" = "/.+@.+/" }
with pattern
( { }
| { /#comment/ = /[^\t\n\r ].*[^\t\n\r ]|[^\t\n\r ]/ }
| { /pattern/ = /[*+.0-9=@-Z\\_a-z-]+/ })*
Debug: Augeas[Postfix virtual - /.+@.+/](provider=augeas): Closed the augeas connection
Error: /Stage[main]/Profile::Postfix_cfg/Postfix::Virtual[/.+@.+/]/Augeas[Postfix virtual - /.+@.+/]: Could not evaluate: Save failed, see debug output for details
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Simply use example from the code:
puppet-postfix/manifests/virtual.pp
Line 34 in fd27305
What are you seeing
Virtual map can't be created because of limitation of symbols to match pattern. Regexp map is formatted the same way as hash map, but it is impossible to build even simple regular expressions using only very limited amount of symbols:
*+.0-9=@-Z\\_a-z-
What behaviour did you expect instead
Pattern should use additionally at least these symbols:
^][$/()|?}{
Output log
The text was updated successfully, but these errors were encountered: