Re: [Puppet-dev] Improving the Resources Resource Type

2014-11-10 Thread Raphaƫl Pinson
On Thursday, November 6, 2014 12:39:22 PM UTC+1, Felix Frank wrote: On 11/06/2014 12:04 PM, Luke Kanies wrote: A fourth option would be to combine the best of Resources and exported resources: Build a querying system akin to exported resources, but against the current system, rather

Re: [Puppet-dev] Improving the Resources Resource Type

2014-11-07 Thread Felix Frank
On 11/07/2014 05:59 AM, Luke Kanies wrote: To get a behavior that matches today's resources type, we'd need to explicitly query unmanaged resources. User~| managed == false |~ { ensure = absent } This has the advantage of being more explicit about the unmanaged part than

Re: [Puppet-dev] Improving the Resources Resource Type

2014-11-06 Thread Luke Kanies
On Thu, Nov 6, 2014 at 1:36 PM, Henrik Lindberg henrik.lindb...@cloudsmith.com wrote: Hi, I am bringing up this topic because of a recent discussion and PR for the ticket https://tickets.puppetlabs.com/browse/PUP-1486 Here is a recap. The Resources resource is used to manage unmanaged

Re: [Puppet-dev] Improving the Resources Resource Type

2014-11-06 Thread Felix Frank
On 11/06/2014 12:04 PM, Luke Kanies wrote: A fourth option would be to combine the best of Resources and exported resources: Build a querying system akin to exported resources, but against the current system, rather than against the catalog. Or really, take the exact same querying we already

Re: [Puppet-dev] Improving the Resources Resource Type

2014-11-06 Thread Joshua Hoblitt
On 11/06/2014 04:04 AM, Luke Kanies wrote: A fourth option would be to combine the best of Resources and exported resources: Build a querying system akin to exported resources, but against the current system, rather than against the catalog. Or really, take the exact same querying we already

Re: [Puppet-dev] Improving the Resources Resource Type

2014-11-06 Thread Luke Kanies
On Nov 7, 2014, at 2:02 PM, Joshua Hoblitt jhobl...@cpan.org wrote: On 11/06/2014 04:04 AM, Luke Kanies wrote: A fourth option would be to combine the best of Resources and exported resources: Build a querying system akin to exported resources, but against the current system, rather than

Re: [Puppet-dev] Improving the Resources Resource Type

2014-11-06 Thread Luke Kanies
On Nov 6, 2014, at 10:38 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 11/06/2014 12:04 PM, Luke Kanies wrote: A fourth option would be to combine the best of Resources and exported resources: Build a querying system akin to exported resources, but against the current system,

[Puppet-dev] Improving the Resources Resource Type

2014-11-05 Thread Henrik Lindberg
Hi, I am bringing up this topic because of a recent discussion and PR for the ticket https://tickets.puppetlabs.com/browse/PUP-1486 Here is a recap. The Resources resource is used to manage unmanaged resources of a particular given type - e.g. to purge users, groups etc. that are not