Hide Forgot
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.
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.