Project

General

Profile

Actions

Bug #1487

closed

EOF sometimes not found (patch)

Added by Adrian Bridgett almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Unattended installations
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

In the Preseed Default Finish template, it says:

cat > /etc/puppet/puppet.conf << EOF
<%= snippets "puppet.conf" -%>
EOF

If the puppet.conf snippet doesn't finish with a newline, the EOF is never found as this turns into

cat > /etc/puppet/puppet.conf << EOF
contentsofsnippetEOF

Changing -%> in to %> will stop this being a problem.

Actions

Also available in: Atom PDF