| Summary: | Puppet sometimes fails on RHEL 6.1 | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Lukas Zapletal <lzap> | |
| Component: | Packaging | Assignee: | Lukas Zapletal <lzap> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Garik Khachikyan <gkhachik> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.0.0 | CC: | gkhachik, mkoci | |
| Target Milestone: | Unspecified | |||
| Target Release: | Unused | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 767362 (view as bug list) | Environment: | ||
| Last Closed: | 2012-08-22 18:13:26 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 747354 | |||
I need to go through ALL our Puppet codebase. We use singlequotes many many times... :-( http://docs.puppetlabs.com/guides/style_guide.html#quoting 4bb8625 767139 - Puppet sometimes fails on RHEL 6.1 # VERIFIED no failures any more on RHEL 6.1 (as well as for 6.2). checked on recent latest versions. |
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.