Issue #14715 has been updated by Ken Barber. Status changed from In Topic Branch Pending Review to Code Insufficient
This code needs to be modified to handle all the different cases described in the ticket since. ---------------------------------------- Bug #14715: puppet module tool uses wrong tar command on solaris 10 https://projects.puppetlabs.com/issues/14715#change-64717 Author: Matthew Flanagan Status: Code Insufficient Priority: Normal Assignee: Ken Barber Category: Solaris Target version: 2.7.x Affected Puppet version: 2.7.14 Keywords: puppet module tool Branch: puppet/module_tool/applications/unpacker.rb assumes tar command supports the 'z' option to ungzip the downloaded tar.gz file. On Solaris 10 and earlier tar does not support this option. This causes the following error: # puppet module install --debug ppbrown-svcprop Preparing to install into /etc/puppet/modules ... Downloading from http://forge.puppetlabs.com ... Installing -- do not interrupt ... tar: z: unknown function modifier Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}... Error: Could not extract contents of module archive. Error: Try 'puppet help module install' for usage On Solaris 10 /usr/sfw/bin/gtar usually exists and will work. On Solaris 8 and 9 a combination of tar and gunzip will be needed. -- 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.
