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

Git error on site install #1

Open
Lem opened this issue Dec 9, 2014 · 0 comments
Open

Git error on site install #1

Lem opened this issue Dec 9, 2014 · 0 comments

Comments

@Lem
Copy link

Lem commented Dec 9, 2014

Hi there,
was trying to install mail_alias via knife cookbook site install mail_alias but got this error:

Removing pre-existing version.
Uncompressing mail_alias version 0.1.0.
removing downloaded tarball
1 files updated, committing changes
ERROR: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '128'
---- Begin output of git add mail_alias ----
STDOUT: 
STDERR: fatal: Not a git repository: /home/msf/git/chef-repo/.git/modules/cookbooks/mail_alias
---- End output of git add mail_alias ----
Ran git add mail_alias returned 128

After using grep I found that there is a file ".git" (not a dictory!) inside the downloaded tar-Archive with following content:

gitdir: /home/msf/git/chef-repo/.git/modules/cookbooks/mail_alias

I assume that this file is causing my error.

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

No branches or pull requests

1 participant