<div dir="ltr"><div style="text-align:left"><span style="font-family:times new roman,serif">This is a conversation that was started in a private email exchange. Per Martin Krafft's suggestion, I'm moving it to the list.<br>
</span></div><span style="font-family:times new roman,serif">
</span><div style="text-align:left"><span style="font-family:times new roman,serif"><br><br>I said:<br><br>>..it would be very convenient if reclass could be fed in starting data,<br>>e.g., the existing pillar data. This would allow reclass to be run as<br>

>the final module, doing variable interpolation of prior pillar data.<br><br>Martin F. Krafft answered:<br><br>> Yes, this is even a TODO item, IIRC.<br>><br>> It shouldn't be hard to implement. First, it needs to be decided<br>

> whether the data should be integrated into the dict top-class (and<br>> thus be overrideable by yaml_fs data), or added to the dict under<br>> a subkey, e.g. __pillar__. I suggest the latter.<br><br></span></div>
<div style="text-align:left"><span style="font-family:times new roman,serif">Putting it in __pillar__ would be a bit strange for the end user using the data in, say, a jinja template: {{ pillar.__pillar__.foo }}. What would be the disadvantages of making it overridable?<br>
</span></div><div style="text-align:left"><span style="font-family:times new roman,serif"><br>> Then, it needs to be walked once to identify those keys that contain<br>
> references.<br><br></span></div><div style="text-align:left"><span style="font-family:times new roman,serif">So you could use reclass style references within the data provided to reclass? That would be pretty neat.<br>
</span></div><div style="text-align:left"><span style="font-family:times new roman,serif"><br>> Also, we must decide what to do wrt. Ansible and Puppet and the<br>> others, where the data are currently not made available.<br>
<br></span></div><div style="text-align:left"><span style="font-family:times new roman,serif">Is there anything to do? The storage engine(s) could support the feature, but the connectors could use or not use the feature as appropriate.<br>
</span></div><div style="text-align:left"><span style="font-family:times new roman,serif"><br></span></div></div>