Hi,

Until now I work with manifest file. Now I would like to create a perl/php 
script that will create the YAML script and should overwrite the manifest 
file.

So I edit the file puppet.conf and put:

mode_terminus = exec
external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:3000 
/path/to/bin/external_node

In the file /path/to/bin/external_node I put my code for the perl script. 
when I run Puppet on the agent, it's look like it still take the manifest 
instead of the script I put.

How Can I make this script work instead of the manifest files? how can I 
debug it?

Also, How can I send parameters to the script? How to access to fact 
variables from the script, like $hostname etc?

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6eb837b7-b3d8-4531-ad1b-4f14c2826c60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to