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

2015-01-02 Thread Alessandro Franceschi
Hi all, let me reply to this old thread to announce the release of Tiny Puppet, a module that allows installation and configuration of virtually any application on any OS. This post was originally started to find a way to solve a problem at the core of Tiny Puppet working concept (based on defi

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

2014-05-31 Thread Trevor Vaughan
+1 Data in modules is absolutely necessary! On Sat, May 31, 2014 at 10:18 AM, Daniele Sluijters < daniele.sluijt...@gmail.com> wrote: > > So, if you're willing to depend on other modules, then I think > ripienaar/module-data > combined > with

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

2014-05-31 Thread Daniele Sluijters
> So, if you're willing to depend on other modules, then I think ripienaar/module-data combined with explicit lookups can do a lot of what you're after. Honestly, that should just be part of Puppet core. It's such an incredibly useful featur

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

2014-05-27 Thread John Bollinger
On Monday, May 26, 2014 11:01:59 AM UTC-5, Alessandro Franceschi wrote: > > > > On Tuesday, May 20, 2014 6:25:10 PM UTC+2, John Bollinger wrote: > [Al:] > If you have any suggestion on how to use directly Hiera that would be > welcomed, as usual. > > >> >> >> > Thanks anyway for the attem

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

2014-05-26 Thread Alessandro Franceschi
On Tuesday, May 20, 2014 6:25:10 PM UTC+2, John Bollinger wrote: > > > > On Monday, May 19, 2014 11:42:57 AM UTC-5, Alessandro Franceschi wrote: >> >> >> The hierarchy of such a tp module has to be module specific and should >> not depend on how data is managed in users’ hiera.yaml. >> Default d

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

2014-05-20 Thread John Bollinger
On Monday, May 19, 2014 11:47:41 AM UTC-5, Joshua Hoblitt wrote: > > It seems to me that there are two reoccurring basic themes in this > thread of folks expressing either: > > * eagerness to push more data into hiera > No, I don't think that's a good characterization. There is no particula

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

2014-05-20 Thread John Bollinger
On Monday, May 19, 2014 11:42:57 AM UTC-5, Alessandro Franceschi wrote: > > > The hierarchy of such a tp module has to be module specific and should not > depend on how data is managed in users’ hiera.yaml. > Default data for the managed applications should be placed in the same tp > module and

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

2014-05-19 Thread Alessandro Franceschi
Good point, I think some efforts were done in field but evidently they might not be enough. As for the opportunity to extend to defines the data binding functionality I definitively agree, now, that it could be a severe performance issue so I wonder if it might make sense to consider a sort of m

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

2014-05-19 Thread Joshua Hoblitt
It seems to me that there are two reoccurring basic themes in this thread of folks expressing either: * eagerness to push more data into hiera or * sentiment that hiera is already a performance bottleneck The first is language / design pattern issue while the later is an engineering problem.

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

2014-05-19 Thread Alessandro Franceschi
On 19 May 2014, at 17:37, John Bollinger wrote: > > > On Thursday, May 15, 2014 7:17:38 PM UTC-5, Alessandro Franceschi wrote: > > > On Thursday, May 15, 2014 9:55:05 PM UTC+2, John Bollinger wrote: > > > On Thursday, May 15, 2014 9:46:40 AM UTC-5, Alessandro Franceschi wrote: > Hallo ever

[Puppet-dev] Re: Data binding for defines

2014-05-19 Thread John Bollinger
On Thursday, May 15, 2014 7:17:38 PM UTC-5, Alessandro Franceschi wrote: > > > > On Thursday, May 15, 2014 9:55:05 PM UTC+2, John Bollinger wrote: >> >> >> >> On Thursday, May 15, 2014 9:46:40 AM UTC-5, Alessandro Franceschi wrote: >>> >>> Hallo everybody, >>> I've tried to look around in the gro

[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

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

2014-05-15 Thread David Schmitt
Hi, On 16.05.2014 02:17, Alessandro Franceschi wrote: On Thursday, May 15, 2014 9:55:05 PM UTC+2, John Bollinger wrote: On Thursday, May 15, 2014 9:46:40 AM UTC-5, Alessandro Franceschi wrote: Hallo everybody, I've tried to look around in the group for past discussions

[Puppet-dev] Re: Data binding for defines

2014-05-15 Thread Alessandro Franceschi
On Thursday, May 15, 2014 9:55:05 PM UTC+2, John Bollinger wrote: > > > > On Thursday, May 15, 2014 9:46:40 AM UTC-5, Alessandro Franceschi wrote: >> >> Hallo everybody, >> I've tried to look around in the group for past discussions about this >> topic but haven't found any. >> If this has been

[Puppet-dev] Re: Data binding for defines

2014-05-15 Thread John Bollinger
On Thursday, May 15, 2014 9:46:40 AM UTC-5, Alessandro Franceschi wrote: > > Hallo everybody, > I've tried to look around in the group for past discussions about this > topic but haven't found any. > If this has been already debated , please forgive me and point me to the > right direction. > >