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
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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
Copy link
Author

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

  • Icinga Version changed from 2 to 2

@icinga-migration
Copy link
Author

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
Copy link
Author

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

  • Duplicated set to 10201

@icinga-migration
Copy link
Author

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

@icinga-migration icinga-migration added bug Something isn't working area/configuration DSL, parser, compiler, error handling labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.3.11 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant