/opscode-pushy-client

Client API for Pushy

Primary LanguageRubyApache License 2.0Apache-2.0

Push Jobs Client

Build Status

Want to find out more about Push Jobs? Check out docs.chef.io!

Development

Setup Local Machine

bundle install
brew install zeromq

Setup Chef Server w/ Push Jobs Server

  1. Check out chef/chef-server and start DVM w/ Manage and Push Jobs.
# config.yml
vm:
  plugins:
    chef-manage: true
    push-jobs-server: true

Run vagrant up to bring up the Push Jobs Server.

  1. Register you local machine as a node on the chef-server. From chef-server/dev, run:
vagrant ssh
sudo chef-server-ctl user-create local-dev Local Dev local@chef.io 'password' -f /installers/local-dev.pem
sudo chef-server-ctl org-create push-client-local "Local Push Client Development" -a local-dev -f /installers/push-client-local-validator.pem
  1. Add your local machine as a node on the Chef Server.
chef-client -c .chef/client.rb

Start Push Jobs Client

./bin/pushy-client -c .chef/push-jobs-client.rb

Contributing

For information on contributing to this project see https://github.com/chef/chef/blob/master/CONTRIBUTING.md