Issue #2585 has been updated by Luke Kanies. Status changed from Needs design decision to Accepted
I'm fine with this, but I think it'll be wicked-complicated to do this - current defaults work by only adding values where there are none, and here we'd need to track that values were added via this addition mechanism and only add the defaults if they were added this way. In other words, we'd have to change both how the values were set and how the defaults were done. So, I like the feature, the implementation might not be feasible. ---------------------------------------- Feature #2585: Resources should be able to append to resource defaults. http://projects.puppetlabs.com/issues/2585 Author: Nigel Kersten Status: Accepted Priority: Normal Assignee: Category: Target version: Affected version: 0.25.0 Keywords: Branch: I'm not sure which operand is most suitable for this, but you should be able to do something like: <pre> Package { require => [File["foo"], [File["bar"]], } package { "foo": ... require +> [ File["spam"], File["eggs"] ], } as currently you have to jump through a whole bunch of hoops to declare variables and append to them in a different scope to get the same functionality. -- 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.
