Skip to content
/ pushy Public
forked from mfdii/pushy

LWRP for calling Opscode push jobs from a recipe

License

Notifications You must be signed in to change notification settings

b-ramsey/pushy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pushy cookbook

Usage

pushy "<job name>" do
  action :run # The only action is run
  wait true # Wait for the job run to complete before continuing with the run
  nodes [ "node1", "node2", "node3"]
end

For example:

pushy "chef-client" do
  action :run 
  wait true 
  nodes [ "node1", "node2", "node3"]
end

would be the same as

knife job start chef-client node1 node2 node3

The "wait" option defaults to false. Setting wait to true makes the Chef run wait for the remote job to complete before continuing. This can be useful if you need to have an action happen on a remote machine before finishing the local Chef run.

Author

About

LWRP for calling Opscode push jobs from a recipe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 100.0%