Issue #4051 has been updated by Alan Barrett.

This is related to #3771
----------------------------------------
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.

Reply via email to