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?
↧