Meaning of 'generate' and 'eval_generate'

asked 2017-10-13 08:20:46 -0600

busymeister gravatar image

updated 2017-10-13 08:21:30 -0600

I'm studying the puppetlabs/concat module and am wondering about the meaning of the 'generate' and 'eval_generate' methods defined in lib/puppet/type/concat_file.rb After looking at source code of Puppet itself, it seems that these methods have special meaning in a Puppet resource but there is no documentation online about how they work. When are the methods called? How does one properly use them?

edit retag flag offensive close merge delete


Kai Burghardt gravatar imageKai Burghardt ( 2017-10-14 07:07:23 -0600 )edit

Thank you for the link but I do not believe this is relevant to my question. Instead, see:

busymeister gravatar imagebusymeister ( 2017-10-17 11:12:46 -0600 )edit