diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-07-18 14:03:16 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-07-18 14:03:16 -0400 |
commit | e7899aa1f904cfe8daf8cf7652f3be6a7381d09c (patch) | |
tree | cb9c8b369c6204fedd394b460ec10578da731a4d /doc/examples | |
parent | ff3a564884f27f130f546c899ebc8805071be3d4 (diff) | |
parent | a541b34fcddc101ba1c5128dc577482188f0760b (diff) | |
download | vyos-cloud-init-e7899aa1f904cfe8daf8cf7652f3be6a7381d09c.tar.gz vyos-cloud-init-e7899aa1f904cfe8daf8cf7652f3be6a7381d09c.zip |
add chef [Avishai Ish-Shalom]
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/cloud-config-chef.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-chef.txt b/doc/examples/cloud-config-chef.txt new file mode 100644 index 00000000..42da0b6b --- /dev/null +++ b/doc/examples/cloud-config-chef.txt @@ -0,0 +1,38 @@ +#cloud-config +# +# This is an example file to automatically setup and run puppetd +# when the instance boots for the first time. +# Make sure that this file is valid yaml before starting instances. +# It should be passed as user-data when starting the instance. + +# The default is to install from packages. If you want the latest packages from Opscode, be sure to add their repo: +apt_mirror: http://apt.opscode.com/ + +chef: + # If you want to install from rubygems: + install_type: "gems" + + # Chef settings + server_url: "https://chef.yourorg.com:4000" + + # 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----- + + # A run list for a first boot json + run_list: + - "recipe[apache2]" + - "role[db]" |