I created a cookbook named foo
, and want to use with Berkshelf
.
I wrote like this in Berksfile
:
cookbook 'foo', git: 'https://bitbucket.org/ironsand/cookbook-foo.git'
Then vendor the cookbook to cookbooks
directory, but it failed with error like this:
berks vendor cookbooks
Resolving cookbook dependencies...
Fetching 'foo' from https://bitbucket.org/ironsand/cookbook-foo.git (at master)
Username for 'https://bitbucket.org':
How can I tell ssh username and key to Berkshelf
?
Of course my user have right to access the git repository.
berks
command. – Volkman