Issue #22128 has been updated by Josh Partlow. Subject changed from Yum provider no longer able to parse package information to Yum provider no longer able to parse package information during a prefetch Status changed from Accepted to In Topic Branch Pending Review Branch set to https://github.com/puppetlabs/puppet/pull/1833
---------------------------------------- Bug #22128: Yum provider no longer able to parse package information during a prefetch https://projects.puppetlabs.com/issues/22128#change-96307 * Author: Andrew Parker * Status: In Topic Branch Pending Review * Priority: Normal * Assignee: Josh Partlow * Category: * Target version: 3.3.0 * Affected Puppet version: development * Keywords: * Branch: https://github.com/puppetlabs/puppet/pull/1833 ---------------------------------------- After the changes made to include the description information about packages in the resources, the yum provider has been broken. The parsing of the `yumhelper.py` output is done using the same method that is used by the rpm provider for the `rpm` output, however the output format of `yumhelper.py` is not the same. <pre> [root@localhost ~]# puppet apply -e 'package { kernel: ensure => latest }' Notice: Compiled catalog for localhost.delivery.puppetlabs.net in environment production in 0.24 seconds Warning: Failed to match rpm line nss-tools 0 3.14.3 4.el6_4 x86_64 Warning: Failed to match rpm line pixman 0 0.26.2 5.el6_4 x86_64 Warning: Failed to match rpm line e2fsprogs 0 1.41.12 14.el6_4.2 x86_64 Warning: Failed to match rpm line libcurl 0 7.19.7 37.el6_4 x86_64 Warning: Failed to match rpm line libselinux-devel 0 2.0.94 5.3.el6_4.1 x86_64 Warning: Failed to match rpm line krb5-devel 0 1.10.3 10.el6_4.4 x86_64 Warning: Failed to match rpm line kernel-firmware 0 2.6.32 358.14.1.el6 noarch Warning: Failed to match rpm line libcom_err-devel 0 1.41.12 14.el6_4.2 x86_64 Warning: Failed to match rpm line nspr 0 4.9.5 2.el6_4 x86_64 Warning: Failed to match rpm line kernel 0 2.6.32 358.14.1.el6 x86_64 Warning: Failed to match rpm line perl 4 5.10.1 131.el6_4 x86_64 Warning: Failed to match rpm line perl-Pod-Escapes 1 1.04 131.el6_4 x86_64 Warning: Failed to match rpm line kpartx 0 0.4.9 64.el6_4.1 x86_64 Warning: Failed to match rpm line scl-utils 0 20120927 2.el6_4.6 x86_64 Warning: Failed to match rpm line initscripts 0 9.03.38 1.el6.centos.2 x86_64 Warning: Failed to match rpm line cups-libs 1 1.4.2 50.el6_4.4 x86_64 Warning: Failed to match rpm line kexec-tools 0 2.0.0 258.el6_4.2 x86_64 Warning: Failed to match rpm line nss-softokn-freebl 0 3.14.3 3.el6_4 x86_64 Warning: Failed to match rpm line coreutils-libs 0 8.4 19.el6_4.2 x86_64 Warning: Failed to match rpm line python 0 2.6.6 37.el6_4 x86_64 Warning: Failed to match rpm line libselinux 0 2.0.94 5.3.el6_4.1 x86_64 Warning: Failed to match rpm line openldap 0 2.4.23 32.el6_4.1 x86_64 Warning: Failed to match rpm line libnl 0 1.1.4 1.el6_4 x86_64 Warning: Failed to match rpm line nss 0 3.14.3 4.el6_4 x86_64 Warning: Failed to match rpm line libblkid 0 2.17.2 12.9.el6_4.3 x86_64 Warning: Failed to match rpm line python-libs 0 2.6.6 37.el6_4 x86_64 Warning: Failed to match rpm line libproxy-bin 0 0.3.0 4.el6_3 x86_64 Warning: Failed to match rpm line libxml2-python 0 2.7.6 12.el6_4.1 x86_64 Warning: Failed to match rpm line selinux-policy 0 3.7.19 195.el6_4.12 noarch Warning: Failed to match rpm line nss-sysinit 0 3.14.3 4.el6_4 x86_64 Warning: Failed to match rpm line krb5-libs 0 1.10.3 10.el6_4.4 x86_64 Warning: Failed to match rpm line libss 0 1.41.12 14.el6_4.2 x86_64 Warning: Failed to match rpm line mdadm 0 3.2.5 4.el6_4.1 x86_64 Warning: Failed to match rpm line upstart 0 0.6.5 12.el6_4.1 x86_64 Warning: Failed to match rpm line iputils 0 20071127 17.el6_4 x86_64 Warning: Failed to match rpm line kernel-headers 0 2.6.32 358.14.1.el6 x86_64 Warning: Failed to match rpm line tzdata 0 2013c 2.el6 noarch Warning: Failed to match rpm line glibc 0 2.12 1.107.el6_4.2 x86_64 Warning: Failed to match rpm line glibc-devel 0 2.12 1.107.el6_4.2 x86_64 Warning: Failed to match rpm line perl-Pod-Simple 1 3.13 131.el6_4 x86_64 Warning: Failed to match rpm line util-linux-ng 0 2.17.2 12.9.el6_4.3 x86_64 Warning: Failed to match rpm line bind-libs 32 9.8.2 0.17.rc1.el6_4.5 x86_64 Warning: Failed to match rpm line irqbalance 2 1.0.4 4.el6_4 x86_64 Warning: Failed to match rpm line libselinux-utils 0 2.0.94 5.3.el6_4.1 x86_64 Warning: Failed to match rpm line nss-util 0 3.14.3 3.el6_4 x86_64 Warning: Failed to match rpm line e2fsprogs-libs 0 1.41.12 14.el6_4.2 x86_64 Warning: Failed to match rpm line libproxy 0 0.3.0 4.el6_3 x86_64 Warning: Failed to match rpm line perl-libs 4 5.10.1 131.el6_4 x86_64 Warning: Failed to match rpm line mysql-libs 0 5.1.69 1.el6_4 x86_64 Warning: Failed to match rpm line coreutils 0 8.4 19.el6_4.2 x86_64 Warning: Failed to match rpm line glibc-headers 0 2.12 1.107.el6_4.2 x86_64 Warning: Failed to match rpm line libproxy-python 0 0.3.0 4.el6_3 x86_64 Warning: Failed to match rpm line bind-utils 32 9.8.2 0.17.rc1.el6_4.5 x86_64 Warning: Failed to match rpm line gnutls 0 2.8.5 10.el6_4.2 x86_64 Warning: Failed to match rpm line gzip 0 1.3.12 19.el6_4 x86_64 Warning: Failed to match rpm line libcom_err 0 1.41.12 14.el6_4.2 x86_64 Warning: Failed to match rpm line curl 0 7.19.7 37.el6_4 x86_64 Warning: Failed to match rpm line perl-Module-Pluggable 1 3.90 131.el6_4 x86_64 Warning: Failed to match rpm line glibc-common 0 2.12 1.107.el6_4.2 x86_64 Warning: Failed to match rpm line perl-version 3 0.77 131.el6_4 x86_64 Warning: Failed to match rpm line bash 0 4.1.2 15.el6_4 x86_64 Warning: Failed to match rpm line module-init-tools 0 3.9 21.el6_4 x86_64 Warning: Failed to match rpm line selinux-policy-targeted 0 3.7.19 195.el6_4.12 noarch Warning: Failed to match rpm line kernel-devel 0 2.6.32 358.14.1.el6 x86_64 Warning: Failed to match rpm line libxml2 0 2.7.6 12.el6_4.1 x86_64 Warning: Failed to match rpm line libuuid 0 2.17.2 12.9.el6_4.3 x86_64 Warning: Failed to match rpm line dbus-glib 0 0.86 6.el6 x86_64 Warning: Failed to match rpm line nss-softokn 0 3.14.3 3.el6_4 x86_64 Notice: Finished catalog run in 0.57 seconds </pre> Facter and Hiera were installed from released packages: <pre> [root@localhost ~]# rpm -qi facter Name : facter Relocations: (not relocatable) Version : 1.7.2 Vendor: Puppet Labs Release : 1.el6 Build Date: Wed 10 Jul 2013 10:37:20 PM UTC Install Date: Fri 09 Aug 2013 05:00:46 PM UTC Build Host: verne-builder-1.delivery.puppetlabs.net Group : System Environment/Base Source RPM: facter-1.7.2-1.el6.src.rpm Size : 232381 License: ASL 2.0 Signature : RSA/SHA1, Wed 10 Jul 2013 11:01:55 PM UTC, Key ID 1054b7a24bd6ec30 URL : http://www.puppetlabs.com/puppet/related-projects/facter Summary : Ruby module for collecting simple facts about a host operating system Description : Ruby module for collecting simple facts about a host Operating system. Some of the facts are preconfigured, such as the hostname and the operating system. Additional facts can be added through simple Ruby scripts [root@localhost ~]# rpm -qi hiera Name : hiera Relocations: (not relocatable) Version : 1.2.1 Vendor: Puppet Labs Release : 1.el6 Build Date: Thu 18 Apr 2013 05:02:06 PM UTC Install Date: Fri 09 Aug 2013 05:00:33 PM UTC Build Host: verne-builder-1.delivery.puppetlabs.net Group : System Environment/Base Source RPM: hiera-1.2.1-1.el6.src.rpm Size : 47083 License: ASL 2.0 Signature : RSA/SHA1, Thu 18 Apr 2013 05:38:42 PM UTC, Key ID 1054b7a24bd6ec30 URL : http://projects.puppetlabs.com/projects/hiera/ Summary : A simple pluggable Hierarchical Database Description : A simple pluggable Hierarchical Database. </pre> However puppet is installed from a git working repo (the master branch should show this problem). I've attached the vagrantfile used for this VM. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
