Skip to content

Commit b22bb01

Browse files
committed
Fix use_canonical_name directive
This is missing a newline char and breaks on recent (12.0.0) puppetlabs-apache: ``` apache2: Syntax error on line 50 of /etc/apache2/apache2.conf: Syntax error on line 6 of /etc/apache2/sites-enabled/25-example.com-443.conf:6: <VirtualHost> was not closed. ``` This fix is inspired by fb9d1313, it's functionally the same. Adds the missing newline and also adds two spaces for indentation.
1 parent 7de9755 commit b22bb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/vhost.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2946,7 +2946,7 @@
29462946
concat::fragment { "${name}-use_canonical_name":
29472947
target => "${priority_real}${filename}.conf",
29482948
order => 360,
2949-
content => "UseCanonicalName ${use_canonical_name}",
2949+
content => " UseCanonicalName ${use_canonical_name}\n",
29502950
}
29512951
}
29522952

0 commit comments

Comments
 (0)