Issue #14715 has been updated by Ken Barber.
Solaris tar doesn't protect you from absolute paths when unpacking tarballs, so I'm thinking we should avoid it and just use GNU tar at the cost of compatibility. We only aim for Solaris 10 compatibility anyway for 2.7: <http://docs.puppetlabs.com/guides/platforms.html> ---------------------------------------- Bug #14715: puppet module tool uses wrong tar command on solaris 10 https://projects.puppetlabs.com/issues/14715#change-63868 Author: Matthew Flanagan Status: Accepted Priority: Normal Assignee: Ken Barber Category: Solaris Target version: 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.
