Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5226

PMT fails to install a module on Centos 4

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 4.2.2
    • Fix Version/s: None
    • Component/s: PMT
    • Labels:
      None
    • Template:

      Description

      On Centos 4, when trying to install a module, we unpack it and try to reset permissions. Note due to PUP-5225 you have to download a module out of band, and try to install the tar.gz directly:

      [root@sb1nht6p15drgb1 ~]# puppet module install puppetlabs-stdlib-4.9.0.tar.gz --trace
      Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
      Error: Could not extract contents of module archive: Execution of 'find . -type d -exec chmod 755 {} +' returned 1: find: missing argument to `-exec'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/module_tool/applications/unpacker.rb:58:in `rescue in unpack'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/module_tool/applications/unpacker.rb:55:in `unpack'
      

      The problem can be reproduced using:

      [root@sb1nht6p15drgb1 ~]# find . -type d -exec chmod 755 {} +
      find: missing argument to `-exec'
      [root@sb1nht6p15drgb1 ~]# find --version
      GNU find version 4.1.20
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  josh Josh Cooper
                  QA Contact:
                  Eric Thompson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support