Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 767139 - Puppet sometimes fails on RHEL 6.1
Summary: Puppet sometimes fails on RHEL 6.1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-13 11:15 UTC by Lukas Zapletal
Modified: 2019-09-25 21:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 767362 (view as bug list)
Environment:
Last Closed: 2012-08-22 18:13:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukas Zapletal 2011-12-13 11:15:36 UTC
err: /Stage[main]/Katello::Config/Postgres::Createdb[katelloschema]/Sqlexec[katelloschema]/Exec[psql -h localhost --username=postgres postgres -c "CREATE DATABASE katelloschema WITH OWNER = katellouser ENCODING = 'UTF8';" >> ${katello::params::log_base}/katello-configure/create-postgresql-katello-database.log 2>&1]/returns: change from notrun to 0 failed: psql -h localhost --username=postgres postgres -c "CREATE DATABASE katelloschema WITH OWNER = katellouser ENCODING = 'UTF8';" >> ${katello::params::log_base}/katello-configure/create-postgresql-katello-database.log 2>&1 returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/postgres/manifests/sqlexec.pp:12

Single quotes does not expand.

I don't know why this is working on Fedoras, but we need to change all single quotes to double quotes. Maybe a Puppet version issue.

Comment 1 Lukas Zapletal 2011-12-13 11:17:21 UTC
I need to go through ALL our Puppet codebase. We use singlequotes many many times... :-(

http://docs.puppetlabs.com/guides/style_guide.html#quoting

Comment 2 Lukas Zapletal 2011-12-13 11:22:57 UTC
4bb8625 767139 - Puppet sometimes fails on RHEL 6.1

Comment 4 Garik Khachikyan 2012-02-28 13:57:09 UTC
# VERIFIED

no failures any more on RHEL 6.1 (as well as for 6.2).

checked on recent latest versions.


Note You need to log in before you can comment on or make changes to this bug.