Skip to content

Instantly share code, notes, and snippets.

@bscott
Created September 16, 2013 03:19
Show Gist options
  • Select an option

  • Save bscott/6576389 to your computer and use it in GitHub Desktop.

Select an option

Save bscott/6576389 to your computer and use it in GitHub Desktop.
knife commands
openssl rand -base64 512 | tr -d '\r\n' > .chef/data_bag_key
knife data bag create --secret-file .chef/data_bag_key credentials rundeck
knife exec -E 'nodes.transform("fqdn:n7prppplamp*") {|n| n.run_list(["role[zend-pep]", "role[deploy_pep_ui]","role[optier-apache]", "recipe[wdpro_logstash::pep_agent]"])}’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment