summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-09-13 08:02:37 -0400
committerScott Moser <smoser@ubuntu.com>2011-09-13 08:02:37 -0400
commitcee5b2376e96a9a282f23b85f5f9984d02564dc1 (patch)
tree42fc9d241f10393ba36bde182e7c465b78feb26a /doc
parentd88823191ed67fd1801931df43e6f6c26e1a0e42 (diff)
parent2e6b44be4a2c352a49910c437a830c27b0ad131c (diff)
downloadvyos-cloud-init-cee5b2376e96a9a282f23b85f5f9984d02564dc1.tar.gz
vyos-cloud-init-cee5b2376e96a9a282f23b85f5f9984d02564dc1.zip
Chef support fixes, and support for environment and initial attr (LP: #845208)
Thanks to Mike Mouulton and Avishai Ish-Shalom. LP: #845208
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/cloud-config-chef.txt38
1 files changed, 22 insertions, 16 deletions
diff --git a/doc/examples/cloud-config-chef.txt b/doc/examples/cloud-config-chef.txt
index 42da0b6b..cbaa3467 100644
--- a/doc/examples/cloud-config-chef.txt
+++ b/doc/examples/cloud-config-chef.txt
@@ -9,30 +9,36 @@
apt_mirror: http://apt.opscode.com/
chef:
- # If you want to install from rubygems:
+
+ # Valid values are 'gems' and 'packages'
install_type: "gems"
# Chef settings
server_url: "https://chef.yourorg.com:4000"
+ # Node Name
+ # Defaults to the instance-id if not present
+ node_name: "your-node-name"
+
+ # Environment
+ # Defaults to '_default' if not present
+ environment: "production"
+
# Default validation name is chef-validator
validation_name: "yourorg-validator"
- validation_cert: |
- -----BEGIN CERTIFICATE-----
- MIICCTCCAXKgAwIBAgIBATANBgkqhkiG9w0BAQUFADANMQswCQYDVQQDDAJjYTAe
- Fw0xMDAyMTUxNzI5MjFaFw0xNTAyMTQxNzI5MjFaMA0xCzAJBgNVBAMMAmNhMIGf
- MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCu7Q40sm47/E1Pf+r8AYb/V/FWGPgc
- b014OmNoX7dgCxTDvps/h8Vw555PdAFsW5+QhsGr31IJNI3kSYprFQcYf7A8tNWu
- 1MASW2CfaEiOEi9F1R3R4Qlz4ix+iNoHiUDTjazw/tZwEdxaQXQVLwgTGRwVa+aA
- qbutJKi93MILLwIDAQABo3kwdzA4BglghkgBhvhCAQ0EKxYpUHVwcGV0IFJ1Ynkv
- T3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwDwYDVR0TAQH/BAUwAwEB/zAd
- BgNVHQ4EFgQUu4+jHB+GYE5Vxo+ol1OAhevspjAwCwYDVR0PBAQDAgEGMA0GCSqG
- SIb3DQEBBQUAA4GBAH/rxlUIjwNb3n7TXJcDJ6MMHUlwjr03BDJXKb34Ulndkpaf
- +GAlzPXWa7bO908M9I8RnPfvtKnteLbvgTK+h+zX1XCty+S2EQWk29i2AdoqOTxb
- hppiGMp0tT5Havu4aceCXiy2crVcudj3NFciy8X66SoECemW9UYDCb9T5D0d
- -----END CERTIFICATE-----
-
+ validation_key: |
+ -----BEGIN RSA PRIVATE KEY-----
+ YOUR-ORGS-VALIDATION-KEY-HERE
+ -----END RSA PRIVATE KEY-----
+
# A run list for a first boot json
run_list:
- "recipe[apache2]"
- "role[db]"
+
+ # Specify a list of initial attributes used by the cookbooks
+ initial_attributes:
+ apache:
+ prefork:
+ maxclients: 100
+ keepalive: "off"