Exec command on puppet master
Every Linux host in our environment mounts a dedicated /usr/local, served via a NetApp filer. This allows us to offload some storage as well as provide snapshots.
When I provision a new host, I'd like to be able to automatically create the volume on the file server. I'm using run stages to ensure that the /usr/local mount is in place before any other puppet resources are applied. The ssh command below does the basic task of creating the necessary volume. I'm trying to run it from the puppet master using the generate function, but I ... (more)