Bug #1487

EOF sometimes not found (patch)

Added by Adrian Bridgett over 1 year ago. Updated 11 months ago.

Status:Closed Start:02/08/2012
Priority:Low Due date:
Assigned to:Ohad Levy % Done:

100%

Category:Unattended installations
Target version:1.0
Backlog:No Difficulity:trivial
Votes: 0

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 ec80ab80c61ab0e4c063018f5ecf9d72df016abb
Added by Ohad Levy 11 months 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

Updated by Ohad Levy over 1 year ago

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

thanks!

Updated by Adrian Bridgett over 1 year ago

I'll give it a go :-)

Updated by Ohad Levy 11 months ago

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

Updated by Ohad Levy 11 months ago

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

Also available in: Atom PDF