Issue #4631 has been reported by Mark Phillips.

----------------------------------------
Bug #4631: --tags doesn't work in 2.6
http://projects.puppetlabs.com/issues/4631

Author: Mark Phillips
Status: Unreviewed
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.

Reply via email to