Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow WARNMSG to contain/start with '#' #46

Merged
merged 1 commit into from
Aug 7, 2013

Conversation

andir
Copy link
Contributor

@andir andir commented Apr 28, 2013

Previosuly this error was being displayed:
108: [: x#: unexpected operator

Together with the puppetlabs postgres module concatfragment failed because at [ x$WARNMSG ...] where $WARNMSG started with an '#', which is invalid syntax.

This is the puppet agent output:

debug: Execconcat_/etc/postgresql/9.1/main/pg_hba.conf: Executing check '/var/lib/puppet/concat/bin/concatfragments.sh -o /var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat.out -d /var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf -t -w '# This file is managed by Puppet. DO NOT EDIT.' '
debug: Executing '/var/lib/puppet/concat/bin/concatfragments.sh -o /var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat.out -d /var/lib/puppet/concat/etc_postgresql_9.1_main_pg_hba.conf -t -w '# This file is managed by Puppet. DO NOT EDIT.' '
debug: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/Exec[concat
/etc/postgresql/9.1/main/pg_hba.conf]/unless: /var/lib/puppet/concat/bin/concatfragments.sh: 108: [: x#: unexpected operator

Previosuly this error was being displayed:
	108: [: x#: unexpected operator
apenney pushed a commit that referenced this pull request Aug 7, 2013
Allow WARNMSG to contain/start with '#'
@apenney apenney merged commit 82de49b into puppetlabs:master Aug 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants