On Thursday, August 2, 2018 at 7:57:26 AM UTC-5, jcbollinger wrote: > > > > On Wednesday, August 1, 2018 at 1:13:43 PM UTC-5, Darth Krizz wrote: > > >> Is it possible with find_file? If yes, how? >> > > > Only if your custom mount point is somewhere within one of your modules' > files/ directories, and you know the exact name of the file you're > looking for. > > Correction: yes, you *can* check the presence of arbitrary files with find_file, one absolute path at a time. You can also use this to choose the first available file from a priority-ordered list. That might be useful to you, but it's still a bad idea to choose which target files to manage based on which sources are available on the master.
John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/a2c210a5-c62b-430a-a438-2890dfee5ae4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
