how to read file and use content per line?
I have txt file consists where and what i want to delete, for example: /data/1 bak /data/2 tmp /data/3 dbf
This mean puppet agent looking in /data/1 dir all files with bak extension and remove them.
My desirable scheme:
1. This file storage on puppet master
2. Puppet agent read (or copy on agent-side than read) this file and delete specified files if they are.