Issue #14715 has been reported by Matthew Flanagan.

----------------------------------------
Bug #14715: puppet module tool uses wrong tar command on solaris 10
https://projects.puppetlabs.com/issues/14715

Author: Matthew Flanagan
Status: Unreviewed
Priority: Normal
Assignee: 
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.

Reply via email to