Issue #2806 has been reported by Pascal Lalonde.

----------------------------------------
Bug #2806: Specifying multiple tags fails to apply any of them
http://projects.reductivelabs.com/issues/2806

Author: Pascal Lalonde
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: tags
Target version: 
Affected version: 0.25.1
Keywords: 
Branch: 


Best explained with a quick (and real) example:

Take the following class:

<pre>
class sudoers {
        tag("safeop")
        file { "/etc/sudoers":
                owner => "root",
                group => "root",
                mode  => 440,
                content => template("default/etc/sudoers")
        }       
}
</pre>

In puppet.conf:
<pre>
[puppetd]
logdir=/var/log/puppet
vardir=/var/lib/puppet
rundir=/var/run/puppet
factsync = true
server = puppet01
pluginsync = true
runinterval = 3600
report = true
tags = safeop, apt, puppet, server, sudoers, unix_admin
</pre>

In 0.24, running "puppetd --test" would apply any modifitations to the sudoers 
file. Since upgrading to 0.25, if more than one tag is specified, nothing gets 
executed. The same holds true for command line.

If we however specify either, but not both, of "sudoers" or "safeop", 
modifications to the sudoers file will be applied.

--debug output will report:

"debug: //sudoers/File[/etc/sudoers]: Not tagged with safeop, apt, puppet, 
server, sudoers, unix_admin"


-- 
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