Bug #1487
EOF sometimes not found (patch)
| Status: | Closed | Start: | 02/08/2012 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assigned to: | % 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
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 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
Applied in changeset ec80ab80c61ab0e4c063018f5ecf9d72df016abb.
