Re: [Puppet-dev] Presenting a custom error message if source file in module does not exist

2014-08-04 Thread David Schmitt
On 2014-08-02 07:55, Craig Barr wrote: TL;DR How do I output a custom error message for a failed assertion that a source file exists. In other words, how do I display a nice error message when puppet:///modules/mymodule/mysourcefile.txt does not exist A great way to improve the situation would

Re: [Puppet-dev] Presenting a custom error message if source file in module does not exist

2014-08-04 Thread Felix Frank
On 08/02/2014 07:55 AM, Craig Barr wrote: > TL;DR How do I output a custom error message for a failed assertion that > a source file exists. In other words, how do I display a nice error > message when puppet:///modules/mymodule/mysourcefile.txt does not exist Hi, this feels like more of a puppet

[Puppet-dev] Presenting a custom error message if source file in module does not exist

2014-08-04 Thread Craig Barr
This feels like a beginner question so apologies to the experts out there reading this. Please skip to the last line of this post for the 'shortened version of this question'. For my module, I believe there is a high likelihood the user may not copy a required source file to the module 'files'