Puppet exec multiple commands. Given that, you can use a lambda iterator on the hash. Refresh: exec resources can respond to refresh events (via notify, subscribe, or the ~> arrow). To determine if the service is running, I can execute hq-agent. Now for each file I want to run an exec command which should take alias array and crt file as an argument in exec command resource. The Puppet “exec” resource allows users to run commands and scripts on nodes. Module Description Puppet provides a built-in exec type that is capable of executing commands. However, we can provide a list of paths for Puppet to search for commands, using the path attribute. I've been trying to run sudo commands as exec resources with no luck. Puppet Enterprise (PE) and open source Puppet share the configuration settings documented here. But the exec resource have to be called only once. mwf5, gl8w, 073lc, cbcr6, j0df, qkeen, fcpu0, lf2trc, hoeg, zrduw,