Project

General

Profile

Actions

Bug #1487

closed

EOF sometimes not found (patch)

Added by Adrian Bridgett about 12 years ago. Updated almost 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 #1

Updated by Ohad Levy about 12 years ago

sounds good,
do you want to send a git patch?

thanks!

Actions #2

Updated by Adrian Bridgett about 12 years ago

I'll give it a go :-)

Actions #3

Updated by Ohad Levy almost 12 years ago

  • Category set to Unattended installations
  • Assignee set to Ohad Levy
  • Target version set to 1.0
Actions #4

Updated by Ohad Levy almost 12 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF