Skip to content

Instantly share code, notes, and snippets.

@MattDevUK
Created October 25, 2016 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattDevUK/064ece1a309616176695b9b67a866aa6 to your computer and use it in GitHub Desktop.
Save MattDevUK/064ece1a309616176695b9b67a866aa6 to your computer and use it in GitHub Desktop.
#cloud-config
chef:
install_type: "omnibus"
validation_key: |
-----BEGIN RSA PRIVATE KEY-----
/// Removed ///
-----END RSA PRIVATE KEY-----
validation_name: "chef-validator"
exec: true
environment: "NorthVirginia"
log_level: "debug"
server_url: "https://chef-server:443/"
ssl_verify_mode: ":verify_none"
run_list:
- "role[authentication]"
runcmd:
- ["export", "HOME=/root"]
- ["chef-client", "-j", "/etc/chef/firstboot.json", "-l", "debug"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment