This message was deleted.
# office-hours
s
This message was deleted.
🤔 1
d
It does look like something we should be testing, at least on a basic level.
b
yeah. at least a syntax validation would be nice
and I think hiera has nothing builtin for this? At least I couldn't find anything
d
Nothing that I know of
b
and puppet-syntax has some basic validation, but puppetlabs_spec_helper doesn't enable it (I don't know why that even is opt-in)
d
Probably was added late and was left off by default to stop it from blowing up other peoples pipelines
b
mhm yeah
h
Hiera has its own special interpolation syntax which is quite restrictive and with some complicated parsing of backwards compatible escape handling. Having a validator would be great help to catch otherwise hard to find problems.
b
yes. I am really surprised there isnt one
c
I wonder what it would take to build one..
h
Look at the implementation in puppet source. Can probablly copy it.
👍 1