jesseadams / sphinx-cookbook

Chef cookbook for Sphinx Search (searchd)
14 stars 27 forks source link

Cookbook installation issue on OSX #23

Closed sotzing closed 10 years ago

sotzing commented 11 years ago

Having trouble installing the cookbook on OSX 10.8.5 - get the following output: Andrews-MacBook-Air:chef andrewsotzing$ knife cookbook site install sphinx Installing sphinx to /Users/andrewsotzing/cs/chef/cookbooks Checking out the master branch. Creating pristine copy branch chef-vendor-sphinx Downloading sphinx from the cookbooks site at version 0.6.6 to /Users/andrewsotzing/cs/chef/cookbooks/sphinx.tar.gz Cookbook saved: /Users/andrewsotzing/cs/chef/cookbooks/sphinx.tar.gz Removing pre-existing version. Uncompressing sphinx version 0.6.6. removing downloaded tarball 1 files updated, committing changes ERROR: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of git commit -m "Import sphinx version 0.6.6" -- sphinx ---- STDOUT: # On branch chef-vendor-sphinx

Changes not staged for commit:

(use "git add ..." to update what will be committed)

(use "git checkout -- ..." to discard changes in working directory)

(commit or discard the untracked or modified content in submodules)

modified: sphinx (untracked content)

no changes added to commit (use "git add" and/or "git commit -a") STDERR: ---- End output of git commit -m "Import sphinx version 0.6.6" -- sphinx ---- Ran git commit -m "Import sphinx version 0.6.6" -- sphinx returned 1

Any ideas on what I might be doing wrong?

jesseadams commented 10 years ago

It looks like I broke this by not excluding certain files/folders from the package I upload with each version (.git, .chef, etc). I removed these from my package flow and just released the latest version (1.0.0). Please give it another shot and let me know how it goes.

jesseadams commented 10 years ago

@sotzing - Any luck on this?

sotzing commented 10 years ago

Installs great now - thanks much Jesse!