Hi, Im writing a simple ENC in Nodejs. When I run the script manually with some hostname it returns a valid YAML (tested on http://yaml-online-parser.appspot.com/) But when I run it from puppet I gen an error "Could not find node 'xxx'; cannot compile" in the client and "Empty response for hosname from exec terminus" when debugging the master I tested with a simple bash scipt with empty class and work ok: ######################################################## #!/bin/sh echo '--- parameters: ' exit 0 ######################################################## *Nodejs script example:* ######################################################## #!/usr/bin/env node var yaml = require('js-yaml'); //Initialize ENC classes var nodeParameters = {}; var nodeClasses = {}; /* Fill parameters and classes objects */ var nodeConfig = {classes: nodeClasses, parameters: nodeParameters}; console.log(yaml.safeDump(nodeConfig)); process.exit(0); ######################################################## Some idea about what i'm doing wrong, or how can debug this error? Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7976eb3c-1f20-4d2c-98f4-3e19b33a8eca%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.