Re: [Puppet Users] PROBLEM: Puppet functions execute during compile time...

2012-07-12 Thread Felix Frank
Hi, On 07/11/2012 08:02 PM, Rastio Hodul wrote: > Hi, > I'm new to Puppet. > > I'm writing the script that installs LAMP+Drupal. > > At the end of the script I need to setup a cron. But for that I need to > read certain key that has been generated during install. > So I'm trying use generate() f

[Puppet Users] PROBLEM: Puppet functions execute during compile time...

2012-07-11 Thread Rastio Hodul
Hi, I'm new to Puppet. I'm writing the script that installs LAMP+Drupal. At the end of the script I need to setup a cron. But for that I need to read certain key that has been generated during install. So I'm trying use generate() function, BUT it evaluates during compile time at which the key