Issue #4051 has been updated by Alan Barrett.
Please do not make this the default. I would like to have a way to select "resources with these tags, and their dependencies", but I need to retain the ability to select "resources with these tags, and no other resources whatsoever". The most common reason, in my case, is that people make changes that did not go through puppet, but that nevertheless should not be accidentally overwritten by puppet. ---------------------------------------- Feature #4051: --tags should also apply resources that a tagged resource depends on http://projects.puppetlabs.com/issues/4051 Author: Dan Bode Status: Accepted Priority: Normal Assigned to: Category: Target version: Affected version: 0.25.5 Keywords: Branch: When using --tags, puppet will run a resource without its dependencies. A resource should never be run without its specified dependencies. <pre> file{'/tmp/one': ensure => file, tag => 'one', } file{'/tmp/two': ensure => file, require => File['/tmp/one'], tag => 'two', } file{'/tmp/three': ensure => file, require => File['/tmp/two'], tag => 'three', } </pre> <pre>puppet --tags three</pre> <pre> # puppet --tags three /tmp/tags_test.pp notice: //File[/tmp/three]/ensure: created </pre> what about /tmp/one and /tmp/two? -- 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.
