[Puppet-dev] Re: Data binding for defines

2014-05-16 Thread Alessandro Franceschi
On Friday, May 16, 2014 9:50:04 PM UTC+2, henrik lindberg wrote: > > On 2014-16-05 21:35, Alessandro Franceschi wrote: > > Andy, > > did this on a vagrant box with eyaml and file backends. > > The hierarchy has 7 levels. > > > > > Debug: PROFILE [apply] 2.3.2 Called hiera: took 0.0156 second

Re: [Puppet-dev] Re: Data binding for defines

2014-05-16 Thread Trevor Vaughan
Henrik, Do you know if it would be possible to cache all non-fact-based Hiera data and only traverse the tree for data that has actually changed? That could save a LOT of time at compile. I suspect that there would need to be a cache invalidator similar to that in the Puppet core that has been d

[Puppet-dev] Re: Data binding for defines

2014-05-16 Thread Henrik Lindberg
On 2014-16-05 21:35, Alessandro Franceschi wrote: Andy, did this on a vagrant box with eyaml and file backends. The hierarchy has 7 levels. Debug: PROFILE [apply] 2.3.2 Called hiera: took 0.0156 seconds If types on average have 10 parameters/properties, and you have 200 of them, that mean

Re: [Puppet-dev] Re: Data binding for defines

2014-05-16 Thread Alessandro Franceschi
Andy, did this on a vagrant box with eyaml and file backends. The hierarchy has 7 levels. Debug: PROFILE [apply] 1 Setup server facts for compiling: took 0. seconds Debug: PROFILE [apply] 2.1 Compile: Set node parameters: took 0. seconds Debug: PROFILE [apply] 2.2 Compile: Created setting

[Puppet-dev] Re: Data binding for defines

2014-05-16 Thread Henrik Lindberg
On 2014-16-05 18:29, Andy Parker wrote: On Thu, May 15, 2014 at 10:24 PM, David Schmitt mailto:da...@dasz.at>> wrote: Hi, On 16.05.2014 02:17, Alessandro Franceschi wrote: On Thursday, May 15, 2014 9:55:05 PM UTC+2, John Bollinger wrote: I am concerned about th

Re: [Puppet-dev] Re: Data binding for defines

2014-05-16 Thread Joshua Hoblitt
On 05/15/2014 12:55 PM, John Bollinger wrote: > > On Thursday, May 15, 2014 9:46:40 AM UTC-5, Alessandro Franceschi wrote: >> > >> > I wonder what do you thing about a feature request to have data bindings >> > also for defines' parameters. >> > > > I'm skeptical about their value. We already h

Re: [Puppet-dev] Re: Data binding for defines

2014-05-16 Thread Andy Parker
On Thu, May 15, 2014 at 10:24 PM, David Schmitt wrote: > Hi, > > > On 16.05.2014 02:17, Alessandro Franceschi wrote: > >> >> >> On Thursday, May 15, 2014 9:55:05 PM UTC+2, John Bollinger wrote: >> >> I am concerned about the impact. It is already somewhat costly for >> Puppet to evaluate