Re: [Puppet Users] Re: Stdlib and Defined Types

2013-12-13 Thread Trevor Vaughan
William, Thanks for the response. Ironically, I was trying to figure out how to change it in production. I had a case where all of my tests passed but production was failing. It turned out to be some strange hiera-fu but it would have been *much* easier to be able to just get the file path direct

[Puppet Users] Re: Stdlib and Defined Types

2013-12-12 Thread William Leese
On Friday, December 13, 2013 5:30:26 AM UTC+9, Trevor Vaughan wrote: > > Does anyone know of a way to add a file-centric backtrace to the validate > functions in the Stdlib? > > If you use a validator in a defined type, you end up not having any idea > what actually threw the error. > Annoying