Re: [Puppet-dev] gathering instances of another type in a type.

2014-12-03 Thread Leonardo Rodrigues de Mello
Could you share the module on github ? Thanks Em 03/12/2014 15:44, "Steve Neuharth" escreveu: > > fragments = *resource.catalog.resources.find_all *do |r| r.is_a?( > *Puppet::Type.type(:datacat_fragment)*) && ((our_names & [ r[:target] > ].flatten).size > 0) end > that's the nugget I was loo

Re: [Puppet-dev] Puppet 4 delivery and upgrades

2014-11-20 Thread Leonardo Rodrigues de Mello
/2014 10:16, "Martin Alfke" escreveu: > > On 20 Nov 2014, at 13:12, Leonardo Rodrigues de Mello > wrote: > > > Breaking this on 4.0 is OK with semver . breaking it on 4.1 would be a > mess. > > ACK. > > Question regarding package resource types usin

Re: [Puppet-dev] Puppet 4 delivery and upgrades

2014-11-20 Thread Leonardo Rodrigues de Mello
Breaking this on 4.0 is OK with semver . breaking it on 4.1 would be a mess. Best Lmello Em 20/11/2014 10:08, "Felix Frank" escreveu: > On 11/20/2014 12:17 PM, Daniele Sluijters wrote: > > First question is, can you gracefully deprecate a line of agents, > i.e. > > retain 3.x agent compa

Re: [Puppet-dev] Puppet 4 delivery and upgrades

2014-11-20 Thread Leonardo Rodrigues de Mello
Would the gems still be released ? I am concerned because we use the mcollective client gem in a web application and I also use multiple puppet and facter gems in rbenv for testing. Best Em 19/11/2014 17:36, "Eric Sorenson" escreveu: > > > On Nov 19, 2014, at 11:20 AM, Trevor Vaughan > wrote: >

Re: [Puppet-dev] Puppet 4 delivery and upgrades

2014-11-19 Thread Leonardo Rodrigues de Mello
Thats cool a controlled and independent stack with all the dependencies. Independent of the OS is great. Scl works only on rhel 6 and 7. Please don't forget rhel 5 packages also. I know it is outdated but it is still widely used . And bundled software will need to receive security updates, ex rub

Re: [Puppet-dev] Abusing PuppetDB

2014-09-15 Thread Leonardo Rodrigues de Mello
If I understand it correctly, What about writing one Hiera backend . This should be "easy", and you will leverage all the hiera puppet support and compatibility. You could write a redis or riak hiera backend. I don't, think writing this using postgres or mysql would scale at least for writes. Bu