Issue #4303 has been updated by Markus Roberts.

Status changed from Unreviewed to Accepted
Target version set to 2.6.1

This is a bug introduced by the string interpolation refactor; slurp_string 
needs to be either more or less clever.
----------------------------------------
Bug #4303: warning: Unrecognised escape sequence '\.' in file .....
http://projects.puppetlabs.com/issues/4303

Author: R.I. Pienaar aka Volcane
Status: Accepted
Priority: Normal
Assigned to: 
Category: 
Target version: 2.6.1
Affected version: 2.6.0
Keywords: 
Branch: 


The following gives an error about unrecognised escape sequences:

<pre>
        apache::vhost{"XXX.co.uk":
                aliases         => ["www.XXX.co.uk",
                                    "*.XXX.co.uk"],
                owner           => deploy,
                group           => deploy,
                template        => "apache/ssl-and-normal-vhost.erb",
                chainfile       => true,
                railsvhost      => cap,
                customlines     => ['RewriteEngine On',
                                    'RewriteCond %{HTTP_HOST}   ^XXX\.co.uk 
[NC]',
                                    'RewriteCond %{HTTP_HOST}   !^$',
                                    'RewriteRule ^/(.*)         
http://www.XXX.co.uk/$1 [L,R]']
        }
</pre>

Full Error:

<pre>
puppet-master[14946]: Unrecognised escape sequence '\.' in file 
/etc/puppet/manifests/common/modules/apache/manifests/vhost/xxx_co_uk.pp at 
line 11
</pre>

The error is for the 2nd line of the customlines property, so the problem is 
this string is single quoted and the master shouldnt care what's inside it 
surely?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to