Hi,as far as I understand, spacing should usually not be an issue in manifests between the attribute name and the "arrow", right?
For example, for a "host" type resource:ip => "192.168.1.1"…should be the same as:ip => "192.168.1.1"Is that right?
It's useful to make manifests easily readable, and I see it used in examples, too.But I encountered a problem with the "ip" attribute of the "host" resource: if I add more spaces after "ip", just like the example above, I get an error telling me that the "ip" attribute is required, as if it was absent.Without extra spaces, instead, it works.Is this a bug which needs to be reported?
Possible alternative explanations:
- You are quoting the parameter name (which is fine), and at least some of the added whitespace is going inside the quotes. "ip " => "192.168.1.1"
- You are inserting at least one character different from those enumerated above between the parameter name and comma. There are several that are normally rendered as a span of empty space, and there are many others that normally are not rendered at all. None of those is considered whitespace for the DSL's purposes, but depending on where exactly they appear, they might be syntactically valid. Perhaps you changed the "ip" parameter to "ip<some non-printing character>"