Issue #20203 has been updated by Lee Lowder. Affected Puppet version changed from 3.1.1 to 2.7.21 Keywords set to customer
---------------------------------------- Bug #20203: Puppet type "Package" in Ubuntu does not handle multi-arch package states https://projects.puppetlabs.com/issues/20203#change-92899 * Author: Mark Liu * Status: Unreviewed * Priority: Normal * Assignee: * Category: package * Target version: * Affected Puppet version: 2.7.21 * Keywords: customer * Branch: ---------------------------------------- Hi There, Puppet's Package type does not deal with multi-arch package states well. For example if any of the multi-arch packages are removed from the system puppet's Package type will think the actual package is not installed and thus continually try to install it. See below i'm using libstdc++5 as an example. <pre> ~> dpkg -l | grep libstdc++ ii libstdc++5 1:3.3.6-25ubuntu1 The GNU Standard C++ Library v3 rc libstdc++5:i386 1:3.3.6-25ubuntu1 The GNU Standard C++ Library v3 ii libstdc++6 4.6.3-1ubuntu5 GNU Standard C++ Library v3 ii libstdc++6-4.6-dev 4.6.3-1ubuntu5 GNU Standard C++ Library v3 (develo ~> sudo puppet apply -e 'package {"libstdc++5" : ensure => "present" }' Notice: /Stage[main]//Package[libstdc++5]/ensure: created Notice: Finished catalog run in 1.20 seconds Changes: Total: 1 Events: Total: 1 Success: 1 Resources: Out of sync: 1 Changed: 1 Skipped: 6 Total: 8 Time: Filebucket: 0.00 Config retrieval: 0.19 Package: 0.90 Total: 1.09 Last run: 1365725595 Version: Config: 1365725593 Puppet: 3.1.1 </pre> Workaround, If I apt-get remove --purge the libstdc++5:i386 from the system then puppet package type will behave as desired again. <pre> ~> dpkg -l | grep libstdc++ ii libstdc++5 1:3.3.6-25ubuntu1 The GNU Standard C++ Library v3 ii libstdc++6 4.6.3-1ubuntu5 GNU Standard C++ Library v3 ii libstdc++6-4.6-dev 4.6.3-1ubuntu5 GNU Standard C++ Library v3 (development files) ~> sudo puppet apply -e 'package {"libstdc++5" : ensure => "present" }' Notice: Finished catalog run in 0.30 seconds Changes: Events: Resources: Skipped: 6 Total: 8 Time: Filebucket: 0.00 Package: 0.00 Config retrieval: 0.22 Total: 0.22 Last run: 1365725847 Version: Config: 1365725846 Puppet: 3.1.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 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.
