~ubuntu-branches/ubuntu/saucy/cloud-init/saucy

« back to all changes in this revision

Viewing changes to .pc/catchup-446-447.patch/doc/examples/cloud-config-chef.txt

  • Committer: Package Import Robot
  • Author(s): Scott Moser, Mike Moulton, Avishai Ish-Shalom
  • Date: 2011-09-13 17:02:48 UTC
  • mto: (174.2.1 precise)
  • mto: This revision was merged to the branch mainline in revision 136.
  • Revision ID: package-import@ubuntu.com-20110913170248-4ty3t0epmq8cg9wz
* minor documentation improvement.

[Mike Moulton, Avishai Ish-Shalom]
* Chef support fixes. support for environment and initial attr (LP: #845208)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#cloud-config
 
2
#
 
3
# This is an example file to automatically setup and run puppetd
 
4
# when the instance boots for the first time.
 
5
# Make sure that this file is valid yaml before starting instances.
 
6
# It should be passed as user-data when starting the instance.
 
7
 
 
8
# The default is to install from packages. If you want the latest packages from Opscode, be sure to add their repo:
 
9
apt_mirror: http://apt.opscode.com/
 
10
 
 
11
chef:
 
12
 # If you want to install from rubygems:
 
13
 install_type: "gems"
 
14
 
 
15
 # Chef settings
 
16
 server_url: "https://chef.yourorg.com:4000"
 
17
 
 
18
 # Default validation name is chef-validator
 
19
 validation_name: "yourorg-validator"
 
20
 validation_cert: |
 
21
     -----BEGIN CERTIFICATE-----
 
22
     MIICCTCCAXKgAwIBAgIBATANBgkqhkiG9w0BAQUFADANMQswCQYDVQQDDAJjYTAe
 
23
     Fw0xMDAyMTUxNzI5MjFaFw0xNTAyMTQxNzI5MjFaMA0xCzAJBgNVBAMMAmNhMIGf
 
24
     MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCu7Q40sm47/E1Pf+r8AYb/V/FWGPgc
 
25
     b014OmNoX7dgCxTDvps/h8Vw555PdAFsW5+QhsGr31IJNI3kSYprFQcYf7A8tNWu
 
26
     1MASW2CfaEiOEi9F1R3R4Qlz4ix+iNoHiUDTjazw/tZwEdxaQXQVLwgTGRwVa+aA
 
27
     qbutJKi93MILLwIDAQABo3kwdzA4BglghkgBhvhCAQ0EKxYpUHVwcGV0IFJ1Ynkv
 
28
     T3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwDwYDVR0TAQH/BAUwAwEB/zAd
 
29
     BgNVHQ4EFgQUu4+jHB+GYE5Vxo+ol1OAhevspjAwCwYDVR0PBAQDAgEGMA0GCSqG
 
30
     SIb3DQEBBQUAA4GBAH/rxlUIjwNb3n7TXJcDJ6MMHUlwjr03BDJXKb34Ulndkpaf
 
31
     +GAlzPXWa7bO908M9I8RnPfvtKnteLbvgTK+h+zX1XCty+S2EQWk29i2AdoqOTxb
 
32
     hppiGMp0tT5Havu4aceCXiy2crVcudj3NFciy8X66SoECemW9UYDCb9T5D0d
 
33
     -----END CERTIFICATE-----
 
34
 
 
35
 # A run list for a first boot json
 
36
 run_list:
 
37
  - "recipe[apache2]"
 
38
  - "role[db]"