berkshelf / ridley

A reliable Chef API client with a clean syntax
Other
231 stars 84 forks source link

A good example of bootstrapping a node with Ridley would be extremely useful #233

Closed cstewart87 closed 10 years ago

sethvargo commented 10 years ago

https://github.com/RiotGames/ridley-connectors

reset commented 10 years ago

@cstewart87 this is the function you're looking for: https://github.com/RiotGames/ridley-connectors/blob/master/lib/ridley-connectors/resources/node_resource.rb#L46-L92

You use it like this:

conn = Ridley.new(...)
conn.node.bootstrap("127.0.0.1")