Skip to content

Commit afb9d13

Browse files
committed
Fix mod_suexec usage
The missing newline break apache configuration: ``` 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. ``` Add the missing new line. While here, alse remove the legacy (now unused) template and fix indentation of the generated statement.
1 parent 25efbf0 commit afb9d13

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

manifests/vhost.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2713,7 +2713,7 @@
27132713
concat::fragment { "${name}-suexec":
27142714
target => "${priority_real}${filename}.conf",
27152715
order => 290,
2716-
content => "SuexecUserGroup ${suexec_user_group}",
2716+
content => " SuexecUserGroup ${suexec_user_group}\n",
27172717
}
27182718
}
27192719

templates/vhost/_suexec.epp

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)