If your goal is to only run recipes on remote nodes (i.e. run arbitrary commands on a set of nodes) then chef may not be the correct tool for your particular use case. Chef is designed to run as an idempotent configuration management system, and by running arbitrary recipes on your nodes, you are conflicting with this paradigm. If you aren't looking into configuring a Chef server and following this practice, I recommend looking into tools such as Rundeck to run arbitrary commands on servers.You could also use WinRM to run arbitrary Powershell and batch commands on your servers.
↧