Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#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