diff options
author | Avishai Ish-Shalom <avishai.ish-shalom@mail.huji.ac.il> | 2011-04-21 17:57:54 +0300 |
---|---|---|
committer | Avishai Ish-Shalom <avishai.ish-shalom@mail.huji.ac.il> | 2011-04-21 17:57:54 +0300 |
commit | b3e7cdb3f85cd913d1cfb0895be1b0b6acc319fd (patch) | |
tree | b166eb6b3c17b16ecee0176ea3fc3f599eb75e22 /doc/examples | |
parent | e363a4869459915fed45d5e92005f61afa5ee6e8 (diff) | |
download | vyos-cloud-init-b3e7cdb3f85cd913d1cfb0895be1b0b6acc319fd.tar.gz vyos-cloud-init-b3e7cdb3f85cd913d1cfb0895be1b0b6acc319fd.zip |
Added Chef plugin
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]" |