opscode/chef-rundeck — Issue #8: please show a working example
Author: connaryscott
Created: 2011-10-25 16:53:35+00:00
State: open

I have a running chef server and cannot actually make any sense of how this works....

I have used the debian package method:

http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

for installing the chef server. I have a couple clients in place....

To properly install the plugin i had to also install:

gcc
ruby1.8-dev

After getting past this....

I am trying to understand this command line:

sudo -b chef-rundeck -c /etc/chef/client.rb -u rundeck -w https://manage.opscode.com/

What does the -u flag actually do:

-u, --username USERNAME The Username for Rundeck to SSH as

?

When I run it this is what happens (and after connecting to the rundeck server)

root@xcomm-chefserver:~# /var/lib/gems/1.8/gems/chef-rundeck-0.1.0/bin/chef-rundeck -c /etc/chef/client.rb -w http://localhost:4000
== Sinatra/1.3.1 has taken the stage on 9980 for development with backup from Thin
>> Thin web server (v1.2.4 codename Flaming Astroboy)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:9980, CTRL+C to stop
ArgumentError - Cannot sign the request without a client name, check that :node_name is assigned:
/usr/lib/ruby/vendor_ruby/chef/rest/auth_credentials.rb:41:in `signature_headers'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:321:in `authentication_headers'
...
...

Do i have to deal with ssl certificates here?

Is there any other documentation that shows how this might work?