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!