Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken on solaris2 platform #81

Open
ccope opened this issue Apr 29, 2014 · 0 comments
Open

Broken on solaris2 platform #81

ccope opened this issue Apr 29, 2014 · 0 comments

Comments

@ccope
Copy link

ccope commented Apr 29, 2014

Commit 12c57c0 between 1.3.0 and 1.3.1 breaks the omnibus installation script on Solaris 11. Specifically, setting the communication option :shell = "sh" causes the path to get messed up. I haven't been able to figure out why.

Path after removing lines 97+98 from the commit:
/usr/bin:/usr/sbin
Path with those lines in place:
/usr/bin:/bin

pkgadd is located at /usr/sbin/pkgadd

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

sh install.sh -v 11.12.2 2>&1

Stdout from the command:

Downloading Chef 11.12.2 for solaris2...
downloading https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=solaris2&pv=5.11&m=i386
  to file /tmp/install.sh.2869/metadata.txt
trying wget...
url     https://opscode-omnibus-packages.s3.amazonaws.com/solaris2/5.10/i386/chef-11.12.2-1.solaris2.5.10.solaris
md5     7fdd7e51a45cb5e3e3b64222554c8e99
sha256  6d91e88bfe4ca41380cd4ea5720efeb4a5dabaf6f82534cb8c5e95af744dec7e
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/solaris2/5.10/i386/chef-11.12.2-1.solaris2.5.10.solaris
  to file /tmp/install.sh.2869/chef-11.12.2-1.solaris2.5.10.solaris
trying wget...
Comparing checksum with sha256sum...
Installing Chef 11.12.2
installing with pkgadd...
install.sh[405]: pkgadd: not found [No such file or directory]
Installation failed
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version: 11.12.2

Please detail your operating system type, version and any other relevant details


Stderr from the command:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants