[Puppet Users] Re: Cleanup after timeout in exec resource

2010-12-18 Thread dan.achim
Hi, I think that the cleanest way to go about this is to create a bash / perl / python / whatever script that does the wget and watches the exit status of it, cleaning it up if it was unsuccessful. Then you would add this script to your puppet recipe as a file resource and execute this script in

[Puppet Users] Re: Problem with syntax checking

2010-12-11 Thread dan.achim
Could you please paste the entire script? Theoretically it should produce output. If you use the script from here: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control it should work just fine! Copy / paste the script and see if it helps. On Dec 10, 4:15 pm,

[Puppet Users] Re: facter

2010-12-08 Thread dan.achim
I think it is a call from the facter API that let's you define the code to use to get the value for that certain fact you are defining. From what I know, it let's you use just ruby code. But from that you can call bash code too. For example, you would like a new fact that gives you back your