Issue #7600 has been updated by Daniel Pittman.

Luke Kanies wrote:
> Really, I think this question should be reframed slightly to 'perform 
> operations on unmanaged resources', with the caveat that one of the 
> operations must clearly be the ability to remove them.
> 
> It actually feels a lot more like a special resource default syntax than the 
> current abuse of the resource semantics.  Almost like having two resource 
> default concepts:  One that applies to resources in the catalog, and another 
> that applies to resources on the host and specifically aren't in the catalog.

I was about to respond to the rest of the discussion, but this reframes it to 
something absolutely useful.  I have no problem defining a mechanism to act on 
"resources not otherwise managed"; should defaults applied there drift through 
to things in the catalog, or should they start from zero?
----------------------------------------
Feature #7600: Need ability to remove all unmanaged resources
https://projects.puppetlabs.com/issues/7600

Author: Randall Hansen
Status: Investigating
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: puppetcamp-eu-2011
Branch: 


This works, purging all unmanaged hosts entries:

    resources { 'host': 
        purge => true, 
        noop => true,
    }

We should have a similar property for all (most?) types.

--

*This ticket is a request for comment, coming out of a discussion at Puppet 
Camp EU, 2011.  No promises whatever about implementation, but there were 
enough people interested to open a public discussion.*



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to