Created
September 16, 2013 03:19
-
-
Save bscott/6576389 to your computer and use it in GitHub Desktop.
knife commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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