Issue #4631 has been updated by Markus Roberts.

This was broken in:

<pre>
commit 0d4fd60c7c143cc1f4e4b0f99f359c09cbfbf21e

    Fixing #1903 - metaparam inheritance is much faster
    
    This doesn't actually fix the specific request in #1903,
    which said there should be no inheritance at all, but
    I've changed my mind on that.  Static inheritance is good,
    it should just be faster.
    
    This change could result in up to 70% speed improvements
    in compiling.
</pre>

as part of a performance fix.  It appears that restoring the functionality 
won't too badly degrade performance (on first blush it looks like an incidental 
change).

----------------------------------------
Bug #4631: tagging problems in 2.6
http://projects.puppetlabs.com/issues/4631

Author: Mark Phillips
Status: Accepted
Priority: Normal
Assignee: Markus Roberts
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