- From: Maven User <
>
- To:
- Subject: [chef] Re: knife on windows
- Date: Fri, 16 Sep 2011 09:25:47 -0400
So I ran the git commit command by hand with " instead of single quotes:
D:\buildtools\chef\cookbooks>git commit -m 'Import chef-client version 1.0.2'
error: pathspec 'version' did not match any file(s) known to git.
error: pathspec '1.0.2'' did not match any file(s) known to git.
D:\buildtools\chef\cookbooks>git commit -m "Import chef-client version 1.0.2"
[chef-vendor-chef-client 0b23e8c] Import chef-client version 1.0.2
19 files changed, 1112 insertions(+), 0 deletions(-)
create mode 100644 chef-client/README.md
create mode 100644 chef-client/attributes/default.rb
create mode 100644 chef-client/metadata.json
create mode 100644 chef-client/metadata.rb
create mode 100644 chef-client/recipes/config.rb
create mode 100644 chef-client/recipes/default.rb
create mode 100644 chef-client/recipes/delete_validation.rb
create mode 100644 chef-client/recipes/service.rb
create mode 100644 chef-client/templates/arch/conf.d/chef-client.conf.erb
create mode 100644 chef-client/templates/arch/rc.d/chef-client.erb
create mode 100644 chef-client/templates/default/chef-client.pill.erb
create mode 100644 chef-client/templates/default/client.rb.erb
create mode 100644 chef-client/templates/default/debian/default/chef-client.erb
create mode 100644 chef-client/templates/default/debian/init.d/chef-client.erb
create mode 100644 chef-client/templates/default/debian/init/chef-client.conf.erb
create mode 100644 chef-client/templates/default/redhat/init.d/chef-client.erb
create mode 100644 chef-client/templates/default/redhat/sysconfig/chef-client.erb
create mode 100644 chef-client/templates/default/sv-chef-client-log-run.erb
create mode 100644 chef-client/templates/default/sv-chef-client-run.erb
Any suggestions where this is controlled or why this is borked like this?
On Fri, Sep 16, 2011 at 9:18 AM, Maven User
<
">
> wrote:
Ok, made it by this - not sure if this was the right thing to do, but I pulled down the pem files from the master server and added it to my local .chef directory.
I'm a step further (I hit the tar problem that is listed on the windows/chef page http://wiki.opscode.com/pages/viewpage.action?pageId=16089551), but now I'm having an issue when trying to install the chef-client cookbook:
knife cookbook site install chef-client
Installing chef-client to D:/buildtools/chef/cookbooks
Checking out the master branch.
Pristine copy branch (chef-vendor-chef-client) exists, switching to it.
Downloading chef-client from the cookbooks site at version 1.0.2 to D:/buildtools/chef/cookbooks/chef-client.tar.gz
Cookbook saved: D:/buildtools/chef/cookbooks/chef-client.tar.gz
Removing pre-existing version.
Uncompressing chef-client version D:/buildtools/chef/cookbooks.
removing downloaded tarball
1 files updated, committing changes
ERROR: Chef::Exceptions::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of git commit -m 'Import chef-client version 1.0.2' -- chef-client ----
STDOUT:
STDERR: error: pathspec 'version' did not match any file(s) known to git.
error: pathspec '1.0.2'' did not match any file(s) known to git.
---- End output of git commit -m 'Import chef-client version 1.0.2' -- chef-client ----
Ran git commit -m 'Import chef-client version 1.0.2' -- chef-client returned 1
I can't tell if there's something really wrong with the version string being passed in. The error message has a two single quotes at the end of the version string:
error: pathspec '1.0.2'' did not match any file(s) known to git.
^^^
Is there a configuration file broken/borked somewhere that I'm missing?On Thu, Sep 15, 2011 at 4:26 PM, Maven User
<
" target="_blank">
> wrote:
Hi all -
I'm struggling to understand what is needed to manipulate the recipes/cookbooks on the chef server.
I have the following configuration:
Ubuntu 11.X VM running chef master
Ubuntu 11.X VM running chef client
My local windows box running knife
From my local box, I should be able to trigger deployments correct?
I'm also getting this error:
ERROR: OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A
I'm guessing this has something to do with the client.pem file I pulled down from the master server.
Any suggestions to either of the two questions above?
- [chef] knife on windows, Maven User, 09/15/2011
- [chef] Re: knife on windows, Maven User, 09/16/2011
- [chef] Re: knife on windows, Maven User, 09/16/2011
- [chef] Re: Re: knife on windows, Daniel DeLeo, 09/16/2011
- [chef] Re: Re: Re: knife on windows, Maven User, 09/16/2011
- [chef] Re: Re: Re: knife on windows, Maven User, 09/16/2011
- [chef] Re: Re: Re: Re: knife on windows, Adam Jacob, 09/16/2011
- [chef] Re: Re: Re: Re: Re: knife on windows, Maven User, 09/16/2011
- [chef] Re: Re: Re: Re: Re: knife on windows, Maven User, 09/19/2011
- [chef] Re: Re: Re: Re: Re: knife on windows, Maven User, 09/19/2011
- [chef] Re: Re: Re: Re: Re: Re: knife on windows, Daniel DeLeo, 09/20/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: knife on windows, Maven User, 09/20/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: knife on windows, Maven User, 09/20/2011
Archive powered by MHonArc 2.6.16.