Bug #889
template file is truncated
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | Branch: | |||
| Keywords: | ||||
| Votes: | 0 |
Description
site.pp and sample template will be attached.
Problem: manifests/templates/foo.conf has 120 lines. /tmp/foo.conf that is created by template has only 80 lines(3994 bytes) in my system.
System: OS: RedHat ES 4.4, that is RedHat Enterprise Linux ES release 4(Nahant Update 4)
puppetmasterd and puppetd verson: 0.23.2.
History
Updated by Tim Stoop over 4 years ago
Tried this on Debian with puppet 0.23.2-13 and /tmp/foo.conf is 120 lines here. So can’t confirm.
Don’t have a RH machine to test it with, but at the least it seems to be platform specific.
Updated by tsuchiya yoshihiro over 4 years ago
Don’t have a RH machine to test it with, but at the least it seems to be platform specific.
I tried with Fedora7 and RHEL this time.
Fedora7:
puppet-server-0.23.2-1.fc7
puppet-0.23.2-1.fc7
RHEL4.4:
puppet-server-0.23.2-1.el4
puppet-0.23.2-1.el4
Fedora7 server + Fedora7 client –> no problem
Fedora7 server + RHEL client –> no problem
RHEL4.4 server + Fedora7 client –> problem happens
RHEL4.4 server + RHEL4.4 client –> problem happens(as I posted originally)
It looks like the RHEL puppetmasted has the problem.
Updated by Luke Kanies over 4 years ago
It certainly looks like this is a Ruby problem, not a Puppet problem, so there probably isn’t anything I can do.
Is it possible to use a different ruby package?
Updated by tsuchiya yoshihiro over 4 years ago
Is it possible to use a different ruby package?
I installed ruby-1.8.1-7.EL4.8.i386.rpm and ruby-libs-1.8.1-7.EL4.8.i386.rpm from RHEL4.5, and I tried, but it did not make any changes.
I have ruby and ruby-libs those of RHEL5.1, but rpm complains a lot, so I will not try them.
When we start using RHEL5.1, I will test with it, but before that, I probably try with the latest ruby on RH4.4, not with the redhat rpms.
Updated by Luke Kanies over 4 years ago
- Status changed from 1 to Closed
- 7 set to invalid
Considering that this is pretty clearly a ruby problem and not a Puppet problem, I’m going to close this ticket. I don’t think there’s anything I could do to fix it.
Please open it with Red Hat.
Updated by James Turnbull almost 4 years ago
- Target version deleted (
4)