Skip to content

Instantly share code, notes, and snippets.

@chadothompson
Created November 30, 2015 16:02
Show Gist options
  • Save chadothompson/d40bf7deb8b568dc4236 to your computer and use it in GitHub Desktop.
Save chadothompson/d40bf7deb8b568dc4236 to your computer and use it in GitHub Desktop.
puppetClient = rpcclient('puppet', :options => options)
puppetClient.discover(:nodes => [solrNode])
puts puppetClient.runonce(:noop => true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment