[prev in list] [next in list] [prev in thread] [next in thread] 

List:       puppet-dev
Subject:    [Puppet-dev] [puppet] #466: Virtual provides
From:       trac () madstop ! com (puppet)
Date:       2007-01-30 2:41:50
Message-ID: 056.9d976b6546d7215b3b10bf6901866b66 () madstop ! com
[Download RAW message or body]

#466: Virtual provides
-------------------------+--------------------------------------------------
 Reporter:  ianburrell   |        Owner:  luke
     Type:  enhancement  |       Status:  new 
 Priority:  normal       |    Milestone:      
Component:  library      |      Version:      
 Severity:  normal       |   Resolution:      
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by luke):

 I expect I would implement this using something akin to aliases.  That is,
 if one resource "provided" a virtual resource (e.g., a package providing a
 file), then the internal file map would get modified to return the package
 when the file was asked for.

 This shouldn't be too problematic because resources are normally entirely
 decoupled, but it could possibly do some weird things if something
 internal assumes that when we ask for a file we actually get a file.

 It might be a better idea to have something special in the sorting process
 that only uses the virtual (we can't actually use this term because it's
 already in use) resources when sorting, and possibly when event handling,
 but does not actually return the resources from the internal File[]
 method.

-- 
Ticket URL: <https://reductivelabs.com/trac/puppet/ticket/466#comment:1>
puppet <https://reductivelabs.com>
Puppet - Portable System Automation

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic