Issue #19071 has been reported by Arnaud Gomes-do-Vale.
----------------------------------------
Bug #19071: YAML parser for ENCs doesn't accept alias nodes
https://projects.puppetlabs.com/issues/19071
Author: Arnaud Gomes-do-Vale
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords: yaml
enc
Branch:
Here is part of a sample output from my ENC:
<pre>
classes:
cobbler::server:
dns_servers: &id001
- 129.102.2.10
- 129.102.2.11
domain_name: ircam.fr
resolver:
domain: ircam.fr
servers: *id001
</pre>
The puppetmaster chokes on this input:
<pre>
Feb 5 17:21:37 puppet-test puppet-master[19197]: Received incomplete
information - no value provided for parameter servers on node
cobbler-staging.ircam.fr
</pre>
I have changed my ENC to explicitely print the server list each time it is
needed rather than using alias nodes, which works:
<pre>
classes:
cobbler::server:
dns_servers:
- 129.102.2.10
- 129.102.2.11
domain_name: ircam.fr
resolver:
domain: ircam.fr
servers:
- 129.102.2.10
- 129.102.2.11
</pre>
Alias nodes are part of the YAML standard (defined in section 7.1 of the YAML
1.2 spec), so I guess they should be suported? Or is this an issue with the
YAML parser in Ruby?
All this is on CentOS 5, running puppet 3.0.2 from puppetlabs repo.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.