Issue #4631 has been updated by Nan Liu.
It's a problem with implicit tags on resources rather than explicit tags.
Here's a simple test case:
class a {
notify { "hello a": }
}
class b {
notify { "hello b": }
}
include a, b
0.25.5:
# puppet -v --tags b implicit_tags.pp
info: Applying configuration version '1281767179'
notice: hello b
notice: //b/Notify[hello b]/message: defined 'message' as 'hello b'
2.6:
# puppet -v --tags b implicit_tags.pp
info: Applying configuration version '1281767216'
See following email thread:
http://groups.google.com/group/puppet-users/browse_thread/thread/9d7bb94a8f9c240/d18e83876452b072?lnk=gst&q=tags#d18e83876452b072
----------------------------------------
Bug #4631: tagging problems in 2.6
http://projects.puppetlabs.com/issues/4631
Author: Mark Phillips
Status: Needs more information
Priority: Normal
Assignee:
Category: agent
Target version:
Affected version: 2.6.0
Keywords:
Branch:
Hi,
Has --tags broken in the 2.6.x releases? It doesn't seem to pay any attention.
So here I make changes to two modules:
<pre>
r...@apps /etc/puppet/envs/dev/modules # git st
M pkgrepo/manifests/init.pp
M security/manifests/init.pp
</pre>
...then try applying just one of them:
<pre>
[r...@webdav ~]# puppet agent -t --tags pkgrepo
info: Caching catalog for webdav
info: Applying configuration version '1282836370'
notice: Finished catalog run in 0.03 seconds
[r...@webdav ~]# puppet agent -t --tags=pkgrepo
info: Caching catalog for webdav
info: Applying configuration version '1282836370'
notice: Finished catalog run in 0.03 seconds
[r...@webdav ~]# puppet agent -t --tags=pkgrepo::setup
info: Caching catalog for webdav
info: Applying configuration version '1282836370'
notice: Finished catalog run in 0.03 seconds
</pre>
...and finally I just run the whole catalog:
<pre>
[r...@webdav ~]# puppet agent -t
info: Caching catalog for webdav
info: Applying configuration version '1282836370'
notice: /Stage[main]/Puppet::Setup/Service[puppet]/ensure: ensure changed
'running' to 'stopped'
notice: /Stage[main]/Security::Setup/Ssh_authorized_key[mpaccesstoroot]/ensure:
created
info: FileBucket adding /root/.ssh/authorized_keys as
{md5}aba4c03d0324fb8c4f3961f62f43651e
notice: /Stage[main]/Pkgrepo::Setup/Yumrepo[epel-testing]/enabled: enabled
changed '0' to '1'
notice: Finished catalog run in 0.72 seconds
</pre>
..which works!
This is 2.6.1rc2 incidentally, although I noted the behaviour was the same with
2.6.0.
Client:
<pre>
[r...@webdav ~]# facter puppetversion
2.6.1
</pre>
Master:
<pre>
r...@apps /etc/puppet/envs/dev/modules # facter puppetversion
2.6.1
</pre>
--
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.