From cd3fdad80e76f8690b8ae786d7fe624767296c14 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 17 Jun 2011 10:59:50 +0000 Subject: fix "Unrecognised escape sequence '\.' " warning, by using single quote instead of double quote --- modules/subversion/manifests/init.pp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'modules/subversion') diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index f4a7e269..1486fbca 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -103,33 +103,33 @@ class subversion { syntax_check{"check_perl": - regexp_ext => "\.p[lm]$", - check_cmd => "perl -c" + regexp_ext => '\.p[lm]$', + check_cmd => 'perl -c' } syntax_check{"check_puppet": - regexp_ext => "\.pp$", - check_cmd => "puppet --color=false --confdir=/tmp --vardir=/tmp --parseonly --ignoreimport" + regexp_ext => '\.pp$', + check_cmd => 'puppet --color=false --confdir=/tmp --vardir=/tmp --parseonly --ignoreimport' } syntax_check{"check_ruby": - regexp_ext => "\.rb$", - check_cmd => "ruby -c" + regexp_ext => '\.rb$', + check_cmd => 'ruby -c' } syntax_check{"check_puppet_templates": - regexp_ext => "modules/.*/templates/.*$", - check_cmd => "erb -P -x -T - | ruby -c" + regexp_ext => 'modules/.*/templates/.*$', + check_cmd => 'erb -P -x -T - | ruby -c' } syntax_check{"check_po": - regexp_ext => "\.po$", - check_cmd => "msgfmt -c -" + regexp_ext => '\.po$', + check_cmd => 'msgfmt -c -' } syntax_check{"check_php": - regexp_ext => "\.php$", - check_cmd => "php -l" + regexp_ext => '\.php$', + check_cmd => 'php -l' } } -- cgit v1.2.1