Issue #2797 has been updated by Brice Figureau.

Status changed from Unreviewed to Ready for Testing
Assigned to set to Brice Figureau
Target version set to 0.25.2
Branch set to tickets/0.25.x/2797

Patch sent to puppet-dev and available for testing in my github repository 
branch tickets/0.25.x/2797:
http://github.com/masterzen/puppet/tree/tickets/0.25.x/2797
----------------------------------------
Bug #2797: tag not inherited by subfiles if "recurse=>true" on a file type.
http://projects.reductivelabs.com/issues/2797

Author: Pat D
Status: Ready for Testing
Priority: Normal
Assigned to: Brice Figureau
Category: tags
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: tickets/0.25.x/2797


Take this :
<pre>
class myclass {
 file { "/etc/mydir/":
     owner => root,
     group => root,
     mode => 644,
     recurse => true,
     source => "puppet://puppet01/mydir/",
     ignore => ".svn*",
 }
}
</pre>

Running puppetd --test --tags myclass will update the directory itself (mode 
for example) , but the recursed files won't. (You get "Not tagged with myclass" 
for each subfiles if you run with --debug.)

As a workaround, you can add a tag in the file description :
    tag    => mytag



-- 
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://reductivelabs.com/redmine/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