It should be:
---
classes:
foobar:
I thought the {} might be the issue too, however that
is valid YAML (my ENC is a ruby script that just calls .to_yaml on a constructed hash). If that's indeed the issue, I think
that should probably be considered a bug. I think whatever's taking the output of the ENC should not get confused between a nil and an empty hash (what happened to duck typing? :-))
I will try it tomorrow. However if I remember correctly (I was bogged down with other things yesterday as well), I did try passing dummy parameters too, e.g.
---
classes:
foobar:
foo: bar
... and this also did not work.
And thanks for the puppet node command! I did not know about that. I'll give that a go as well