Issue #2806 has been updated by James Turnbull.

Status changed from Ready for Checkin to Closed

Pushed in commit:"65f601a99a0ca7ebacfda7a6becd8af9fe9eaacb" in branch 0.25.x
----------------------------------------
Bug #2806: Specifying multiple tags fails to apply any of them
http://projects.reductivelabs.com/issues/2806

Author: Pascal Lalonde
Status: Closed
Priority: Normal
Assigned to: Jesse Wolfe
Category: tags
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: ticket/0.25.x/2806


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