[openstack-dev] [Tripleo] Some historic digging

Zane Bitter zbitter at redhat.com
Fri Dec 8 21:04:50 UTC 2017


On 08/12/17 03:51, Cédric Jeanneret wrote:
> On 12/07/2017 05:23 PM, Steven Hardy wrote:
>> On Thu, Dec 7, 2017 at 7:22 AM, Cédric Jeanneret
>> <cedric.jeanneret at camptocamp.com>  wrote:
>>> After some more digging, it appears the "dot" (".") in YAML is a
>>> reserved char for hashes. In the puppet world, we usually use the double
>>> semi-colon, aka "::" as a separator.
>>
>> Can you work around the yaml issue by using quotes to force the
>> "tripleo.foo.firewall" to be a string?
> That was the first thing I tried - but nope. YAML seems to want to parse
> that and kind of "re-cast" it :(

There is most definitely no such thing in YAML:

 >>> yaml.safe_load('- tripleo.foo.firewallrules:\n    bar: baz')
[{'tripleo.foo.firewallrules': {'bar': 'baz'}}]

The problem is hiera:

https://puppet.com/docs/puppet/5.1/hiera_subkey.html

Discussion:

https://tickets.puppetlabs.com/browse/HI-496

The quoting thing was added comparatively recently (March 2016), so 
maybe that's why it isn't working for you:

https://tickets.puppetlabs.com/browse/HI-504

- ZB



More information about the OpenStack-dev mailing list