Skip to content

Commit 13680be

Browse files
committed
Avoid spacing changes after switching to EPP
In #944, we switched from ERB to EPP. This has not been released yet, but while testing I spotted some white space changes that where unexpected. Adjust the code so that the EPP template produce the same result as the ERB template did, making changes more relevant to end-users if they see some files being changed.
1 parent 757dc37 commit 13680be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/etc/systemd/system/docker.service.d/service-overrides-debian.conf.epp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<% if $service_after_override { -%>
22
[Unit]
33
After=<%= $service_after_override %>
4-
<% } -%>
54

5+
<% } -%>
66
[Service]
77
EnvironmentFile=-/etc/default/docker
88
EnvironmentFile=-/etc/default/docker-storage

templates/etc/systemd/system/docker.service.d/service-overrides-rhel.conf.epp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<% if $service_after_override { -%>
22
[Unit]
33
After=<%= $service_after_override %>
4-
<% } -%>
54

5+
<% } -%>
66
[Service]
77
EnvironmentFile=-/etc/sysconfig/docker
88
EnvironmentFile=-/etc/sysconfig/docker-storage

0 commit comments

Comments
 (0)