You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any idea what might be causing this? I'm trying to install a new repo, and it seems like it's expecting the dir to be there already... I've tried both fresh (without a chef-vendor-drush branch being present, and with it).
Thoughts?
{code}
$ knife cookbook github install msonnabaum/chef-drush
zsh: correct 'cookbook' to 'cookbooks' [nyae]? n
Installing drush from git://github.com/msonnabaum/chef-drush.git to site-cookbooks
Checking out the master branch.
Pristine copy branch (chef-vendor-drush) exists, switching to it.
Removing pre-existing version.
ERROR: Chef::Exceptions::ShellCommandFailed: Expected process to exit 0, but it exited with 1
---- Begin output of mv _tmp_chef_drush site-cookbooks/drush ----
STDOUT:
STDERR: mv: rename _tmp_chef_drush to site-cookbooks/drush: No such file or directory
---- End output of mv _tmp_chef_drush site-cookbooks/drush ----
Ran mv _tmp_chef_drush site-cookbooks/drush returned 1
{code}
The text was updated successfully, but these errors were encountered:
Ahh... figured it out. knife.rb allows for you to just put in cookbooks like "site-cookbooks", and it takes this as root of the chef-repo, but it seems knife-github-cookbooks is expecting an absolute path
Hey Jesse,
Any idea what might be causing this? I'm trying to install a new repo, and it seems like it's expecting the dir to be there already... I've tried both fresh (without a chef-vendor-drush branch being present, and with it).
Thoughts?
{code}
$ knife cookbook github install msonnabaum/chef-drush
zsh: correct 'cookbook' to 'cookbooks' [nyae]? n
Installing drush from git://github.com/msonnabaum/chef-drush.git to site-cookbooks
Checking out the master branch.
Pristine copy branch (chef-vendor-drush) exists, switching to it.
Removing pre-existing version.
ERROR: Chef::Exceptions::ShellCommandFailed: Expected process to exit 0, but it exited with 1
---- Begin output of mv _tmp_chef_drush site-cookbooks/drush ----
STDOUT:
STDERR: mv: rename _tmp_chef_drush to site-cookbooks/drush: No such file or directory
---- End output of mv _tmp_chef_drush site-cookbooks/drush ----
Ran mv _tmp_chef_drush site-cookbooks/drush returned 1
{code}
The text was updated successfully, but these errors were encountered: