Skip to content
Snippets Groups Projects
Commit ff8f27d0 authored by Thomas Bellman's avatar Thomas Bellman
Browse files

Fix semi-broken backslash escape of regexp.

In one instance, "\." was used, inside a double-quoted string literal.
This should have been "\\.".  Fix that.  (This happened to work anyway,
since Puppet leaves unknown backslash sequences as they are, and just
emits a warning on syslog every time the manifest is compiled.)
the
parent 1a0dffdd
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ define apache::include_file($content=undef, $source=undef, $ensure='present') ...@@ -149,7 +149,7 @@ define apache::include_file($content=undef, $source=undef, $ensure='present')
delete_lines { delete_lines {
"apache::include_file::include::${name}": "apache::include_file::include::${name}":
file => $apache::configfile, file => $apache::configfile,
pattern => "\s*Include\s+conf\.d/${name}\.conf\s*$", pattern => "\s*Include\s+conf\\.d/${name}\\.conf\s*$",
before => File[$includefile], before => File[$includefile],
notify => Class[apache::service]; notify => Class[apache::service];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment