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

[dev.icinga.com #10204] Config parser problem with parenthesis and newlines #3427

Closed
icinga-migration opened this issue Sep 23, 2015 · 4 comments

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Sep 23, 2015

This issue has been migrated from Redmine: https://dev.icinga.com/issues/10204

Created by mfriedrich on 2015-09-23 14:12:25 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2015-09-23 14:40:05 +00:00)
Target Version: 2.3.11
Last Update: 2015-10-13 11:03:00 +00:00 (in Redmine)

Icinga Version: 2.3.10
Backport?: Already backported
Include in Changelog: 1

({
a = 5
z = 3
})

critical/config: Error: syntax error, unexpected T_IDENTIFIER, expecting '}'
Location:
/usr/local/icinga2/etc/icinga2/conf.d/test.conf(1): ({
/usr/local/icinga2/etc/icinga2/conf.d/test.conf(2): a = 5
/usr/local/icinga2/etc/icinga2/conf.d/test.conf(3): z = 3
                                                    ^
/usr/local/icinga2/etc/icinga2/conf.d/test.conf(4): })
/usr/local/icinga2/etc/icinga2/conf.d/test.conf(5):

Attachments

  • out.zip mfriedrich - 2015-09-23 14:10:24 +00:00

Changesets

2015-09-23 14:37:21 +00:00 by (unknown) e19a36c

Fix parser error when using new-lines in dictionaries

fixes #10204

2015-10-13 11:01:50 +00:00 by (unknown) 514f664

Fix parser error when using new-lines in dictionaries

fixes #10204

Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Sep 23, 2015

Updated by gbeutner on 2015-09-23 14:39:58 +00:00

  • Icinga Version changed from 2 to 2
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Sep 23, 2015

Updated by Anonymous on 2015-09-23 14:40:05 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset e19a36c.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Sep 23, 2015

Updated by mfriedrich on 2015-09-23 19:08:00 +00:00

  • Duplicated set to 10201
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Oct 13, 2015

Updated by gbeutner on 2015-10-13 11:03:00 +00:00

  • Target Version changed from 2.4.0 to 2.3.11
  • Backport? changed from TBD to Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.