-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
attribute keys are missed for parsing #246
Comments
Hi @lbetz, |
Not remove, move to the object define resource ::icinga2::object. |
I'll will take a look into puppetserver log with your patch. |
I checked it in puppetserver log with your patch and all Warnings are now present again. Thats because you removed delete_undef_value from dedicated object. |
OK, that's mean the problem is inside puppet and not between puppet and erb or ruby. Makes sense, puppet is implemented in ruby. Shit so we've to move delete_undef_values back to all objects and implement something to handover the attribute keys for parsing. |
Please try the current commit to branch bug/attribute-keys-are-missed-for-parsing-246. |
Tested with current master and Puppet 4 -> No warning |
The attribute keys are used to identify values that must not quoted thru the parsing mechanism. So we must not delete attribute with an undefined value.
Idea: move delete_undef_value from dedicated object definition to the main object resource and add a new parameter to the attributes function to get a list of unquoted words.
The text was updated successfully, but these errors were encountered: