This message was deleted.
# bolt
s
This message was deleted.
y
I guess it should follow rules of the Puppet variable naming
Those vars will be available as global variables in apply() e.g.
m
Ah that's the doc I was looking for when I posted my question. But yeah I guess it does and I do follow it because I'm used to it.
But it's not documented anywhere
d
I guess vars is marked as a hash for inventory https://www.puppet.com/docs/bolt/latest/inventory_files.html#top-level-fields and that follows puppets hash data type. The whole risk here is the assumption around going to the Puppet docs for this kind of data when bolt is in many ways written as seperate
y
Bolt should be able to expose such vars as global variables during the
apply()
call.. so it should follow the variable naming rules I guess
👍 1
a hash key can have any chars in its name I guess.. not sure what happens when an inventory variable violates the variable naming conventions 🤔
m
This is the time to insert the meme of the fuck-around-and-find-out-chart