summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-chef.txt
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-04-12 10:38:09 -0400
committerScott Moser <smoser@ubuntu.com>2016-04-12 10:38:09 -0400
commit7122f7d6fac6eb78922a474facfd9d439d1bf5b6 (patch)
tree8e85747aeac22ee78cf63ddd41ceac6d6ba43dca /doc/examples/cloud-config-chef.txt
parent763be4ecccca0c0ccb62466699cc9cd22f79adc7 (diff)
downloadvyos-cloud-init-7122f7d6fac6eb78922a474facfd9d439d1bf5b6.tar.gz
vyos-cloud-init-7122f7d6fac6eb78922a474facfd9d439d1bf5b6.zip
chef: straighten out validation_cert and validation_key
Now, validation_key is always a path to a file, as it is in chef's client.rb syntax. validation_cert is always the *content* of that file that should be written. However, if validation_cert is the string "system", then we do not write that value, but rather assume the file exists. LP: #1568940
Diffstat (limited to 'doc/examples/cloud-config-chef.txt')
-rw-r--r--doc/examples/cloud-config-chef.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/examples/cloud-config-chef.txt b/doc/examples/cloud-config-chef.txt
index 4edad653..b886cba2 100644
--- a/doc/examples/cloud-config-chef.txt
+++ b/doc/examples/cloud-config-chef.txt
@@ -67,7 +67,9 @@ chef:
# Default validation name is chef-validator
validation_name: "yourorg-validator"
- validation_key: |
+ # if validation_cert's value is "system" then it is expected
+ # that the file already exists on the system.
+ validation_cert: |
-----BEGIN RSA PRIVATE KEY-----
YOUR-ORGS-VALIDATION-KEY-HERE
-----END RSA PRIVATE KEY-----