Anybody have any thoughts on this?
On Oct 7, 8:50 am, Nate wrote:
> Hi,
>
> I'm trying create acustomfunctionthat willreturnanarrayof file
> paths for the file type source. Instead of defining the followingarrayfor
> source for each file type:
>
> file: { "some_file":
> source => [ "puppet://
Thank you all for the responses. For some reason when I was
originally testing this function it was giving the error mentioned
previously. However, it does seem to be working now. I'm wondering
if there wasn't something cached on the puppet client or a typo
somewhere else. Unfortunately I'm rel
Did you topo part of the function definition, or does it actually have
'returnsources' at the end of the newfunction block?
You should have 'return sources', 'sources', or just leave that bit off,
since 'sources << "puppet:///files/common/#{filename}"' will return the
value of sources.
--
Jacob