This syntax doesn't work, at least in my environment.

    Syntax error at 'node'; expected '}' at guest.pp:58 on node xen01.example.com

Probably because `node` is a keyword in the Puppet DSN.