Hi Everyone,
I am relatively new to puppet open source, i want to create an exec file
for windows to run a file if it is not running, it is not registered as a
service for windows so exec is my alternative.
can anyone help me out?
this is a simple script i created,
exec {'start':
cwd => 'c:/Users/xxxxxx/Desktop',
command => "cmd /c run.bat",
path => $::path,
logoutput => "on_failure",
}
this runs the batch file.
regards and 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/7564ef0e-6ea0-4427-9f12-5d1be0a8cdfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.