[Puppet Users] Spacing in attributes

zerozerounouno@gmail.com
Mon, 20 Jan 2014 14:52:34 -0000

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?

Thanks.
Marco

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/ae8a4ed4-ce65-4f37-8073-653b41b5eeb7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.