Last active
January 3, 2020 14:55
-
-
Save kylejohnson/e44a1d72b634dd7fade4fc830f2a7ae6 to your computer and use it in GitHub Desktop.
cloud init chef
This file contains 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
#cloud-config | |
chef: | |
# Valid values are 'gems' and 'packages' and 'omnibus' | |
install_type: "omnibus" | |
# Chef settings | |
server_url: "https://chef.domain.com/organizations/org" | |
# Node Name | |
# Defaults to the instance-id if not present | |
#node_name: "your-node-name" | |
# Environment | |
# Defaults to '_default' if not present | |
environment: "openstack_dev" | |
# Client's name is `manageiq` | |
client_key: | | |
-----BEGIN RSA PRIVATE KEY----- | |
... | |
-----END RSA PRIVATE KEY----- | |
# if install_type is 'omnibus', change the url to download | |
omnibus_url: "https://www.chef.io/chef/install.sh" | |
# if install_type is 'omnibus', pass pinned version string | |
# to the install script | |
# 12.22.5 is the latest 12.x release | |
omnibus_version: "12.22.5" | |
# Run chef, defaults to false | |
exec: true | |
# A run list for a first boot json, an example (not required) | |
run_list: | |
- "recipe[org_core]" | |
# Capture all subprocess output into a logfile | |
# Useful for troubleshooting cloud-init issues | |
output: {all: '| tee -a /var/log/cloud-init-output.log'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment