We have a server (managed by puppet) that generates a file once per day. Is there an approach I could use to make puppet do the following:
- Recognize that the file is there on server A
- Upload it to the puppet master
- Ensure its existence on puppet-managed server B
- Reload a service on server B
It's really the recognizing and uploading that I'm not clear on. I think I understand how to ensure the existence on server B and reload the service.
Any patterns or documentation would be helpful. Thanks.