Project

General

Profile

Bug #1487

EOF sometimes not found (patch)

Added by Adrian Bridgett about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Unattended installations
Target version:
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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.

Associated revisions

Revision ec80ab80 (diff)
Added by Ohad Levy almost 11 years ago

update default provisioning templates

  • removed workarounds for RHEL3-4
  • use bootif=<host mac> for RHEL hosts
  • tried to do time sync against ntp-server parameter
  • switched to using epel snippet instead dead epel code
  • fixed #1487 - EOF sometimes not found

History

#1 Updated by Ohad Levy about 11 years ago

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

thanks!

#2 Updated by Adrian Bridgett about 11 years ago

I'll give it a go :-)

#3 Updated by Ohad Levy almost 11 years ago

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

#4 Updated by Ohad Levy almost 11 years ago

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

Also available in: Atom PDF