I have a requirement where I need to check for a file on the puppet master and copy it to the agent only if it is not empty.
I have the following so far: