Title: Message Title
utrecht commented on an issue
Puppet / Bug PUP-2612
Puppet regsubst function does not match backslashes
{code}
puppet apply --parser future --debug --verbose c:/site.pp

$ports_regex = "80\\|443"
$ports_string = regsubst($ports_regex, '\\\|', ',', 'G')

notify{"CP1 ${ports_string}":}

$ports_array = split($ports_string, ',')

notify{"CP2 ${ports_array}":}

each($ports_array) |$port| {
  notify{"CP3 ${port}":}

  file {"${port}":
pat...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to