Issue #20308 has been updated by Andrew Forgue. Assignee changed from Andrew Forgue to Charlie Sharpsteen
Charlie Sharpsteen wrote: > Thanks for reporting this bug. Unfortunately, I can't reproduce it using > 3.1.1 agent and 3.2.0-rc1 master from puppetlabs-devel repositories on CentOS > 6.3. > > Could you tell us which operating systems are in use and which methods were > used to install/upgrade Puppet? Also, it appears this is affecting the > puppetlabs/stdlib plugin---which version are you using and do you have more > than one version of stdlib installed? Sure, the server is EL 6.3, and both clients I tested are 5.5. We are using the packages from yum.puppetlabs.com. It's limited to the stdlib (we're using v3.0.1) module, it's just what I copypastaed, but it's not affecting all the plugins either. Given the following two files: <pre> -rw-r--r-- 1 puppet puppet 202 Mar 1 02:12 baseos/lib/puppet/provider/package/gem19.rb -rw-r--r-- 1 puppet puppet 514 Mar 1 02:12 puppet-sysctl/lib/puppet/provider/sysctl/parsed.rb </pre> A 3.1.1 client against a 3.2.0 server will download puppet-sysctl/lib/puppet/provider/sysctl/parsed.rb, but NOT baseos/lib/puppet/provider/package/gem19.rb. I just tried something and it appears to download gem19 if I move it from baseos to puppet-sysctl module. Hyphens? ---------------------------------------- Bug #20308: pluginsync of a 3.1.1 client on a 3.2rc1 server deletes some plugins https://projects.puppetlabs.com/issues/20308#change-89686 * Author: Andrew Forgue * Status: Needs More Information * Priority: High * Assignee: Charlie Sharpsteen * Category: plug-ins * Target version: * Affected Puppet version: 3.2.0-rc1 * Keywords: * Branch: ---------------------------------------- If I run a 3.1.1 (or 2.7.17) client against a 3.2.0rc1 server, a lot of the plugins get deleted: <pre> uppet]$ sudo puppet agent -t --pluginsync --server puppet Info: Retrieving plugin Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_hash.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_bool.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/get_module_path.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/is_ip_address.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/is_numeric.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/delete.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/is_domain_name.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_absolute_path.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/has_key.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/flatten.rb]/ensure: removed Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/is_mac_address.rb]/ensure: removed ... </pre> If I upgrade the client to 3.2.0rc1, the plugins come back. If the server and the client is on 3.1.1, then the plugins appear to work fine. So it seems like the pluginsync isn't working properly on a 3.2.0rc1 server against older clients. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
