Jigen90

Untitled

Nov 1st, 2013
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 8.58 KB | None | 0 0
  1. ---
  2. <%
  3. director_uuid = "7f1b65ff-cdd2-47b8-a4ac-00c31693cd37"
  4. protocol = "http"
  5. cf_release = "145.1-dev"
  6. ip_address = "192.168.124.226"
  7. common_password = "c1oudc0w"
  8. root_domain = "192.168.124.226.xip.io"
  9. deployment_name = "FirstCF"
  10. %>
  11. name: FirstCF
  12. director_uuid: 7f1b65ff-cdd2-47b8-a4ac-00c31693cd37
  13.  
  14. releases:
  15.  - name: FirstCF
  16.    version: 146.1-dev
  17.  
  18. compilation:
  19.   workers: 3
  20.   network: default
  21.   cloud_properties:
  22.     instance_type: m1.small
  23.  
  24. update:
  25.   canaries: 1
  26.   canary_watch_time: 30000-300000
  27.   update_watch_time: 30000-300000
  28.   max_in_flight: 4
  29.   max_errors: 1
  30.  
  31. networks:
  32.   - name: floating
  33.     type: vip
  34.     cloud_properties: {}
  35.   - name: default
  36.     type: manual
  37.     subnets:
  38.         range: 10.11.12.0/24
  39.         gateway: 10.11.12.1
  40.         reserved:
  41.          - 10.11.12.3 - 10.11.12.9
  42.         static:
  43.          - 10.11.12.10 - 10.11.12.20
  44.         cloud_properties:
  45.           security_groups:
  46.            - default
  47.             - cf-public
  48.             - cf-private
  49.  
  50. resource_pools:
  51.   - name: small
  52.     network: default
  53.     size: 8
  54.     stemcell:
  55.       name: bosh-openstack-kvm-ubuntu
  56.       version: latest
  57.     cloud_properties:
  58.       instance_type: m1.small
  59.  
  60.   - name: large
  61.     network: default
  62.     size: 1
  63.     stemcell:
  64.       name: bosh-openstack-kvm-ubuntu
  65.       version: latest
  66.     cloud_properties:
  67.       instance_type: m1.large
  68.  
  69. jobs:
  70.   - name: nats
  71.     template:
  72.      - nats
  73.     instances: 1
  74.     resource_pool: small
  75.     networks:
  76.       - name: default
  77.         default: [dns, gateway]
  78.         static_ips:
  79.           - 10.11.12.10
  80.  
  81.   - name: syslog_aggregator
  82.     template:
  83.      - syslog_aggregator
  84.     instances: 1
  85.     resource_pool: small
  86.     persistent_disk: 16384
  87.     networks:
  88.       - name: default
  89.         default: [dns, gateway]
  90.         static_ips:
  91.           - 10.11.12.11
  92.  
  93.   - name: postgres
  94.     template:
  95.      - postgres
  96.     instances: 1
  97.     resource_pool: small
  98.     persistent_disk: 16384
  99.     networks:
  100.       - name: default
  101.         default: [dns, gateway]
  102.         static_ips:
  103.          - 10.11.12.12
  104.     properties:
  105.       db: databases
  106.  
  107.   - name: nfs_server
  108.     template:
  109.      - debian_nfs_server
  110.     instances: 1
  111.     resource_pool: small
  112.     persistent_disk: 16384
  113.     networks:
  114.       - name: default
  115.         default: [dns, gateway]
  116.         static_ips:
  117.          - 10.11.12.13
  118.  
  119.   - name: uaa
  120.     template:
  121.      - uaa
  122.     instances: 1
  123.     resource_pool: small
  124.     networks:
  125.       - name: default
  126.         default: [dns, gateway]
  127.         static_ips:
  128.          - 10.11.12.14
  129.  
  130.   - name: cloud_controller
  131.     template:
  132.      - cloud_controller_ng
  133.     instances: 1
  134.     resource_pool: small
  135.     networks:
  136.       - name: default
  137.         default: [dns, gateway]
  138.         static_ips:
  139.          - 10.11.12.15
  140.     properties:
  141.       ccdb: ccdb
  142.  
  143.   - name: router
  144.     template:
  145.      - gorouter
  146.     instances: 1
  147.     resource_pool: small
  148.     networks:
  149.       - name: default
  150.         default: [dns, gateway]
  151.         static_ips:
  152.          - 10.11.12.16
  153.       - name: floating
  154.         static_ips:
  155.          - 192.168.124.226
  156.  
  157.   - name: health_manager
  158.     template:
  159.      - health_manager_next
  160.     instances: 1
  161.     resource_pool: small
  162.     networks:
  163.       - name: default
  164.         default: [dns, gateway]
  165.         static_ips:
  166.        - 10.11.12.17
  167.  
  168.   - name: dea
  169.     template: dea_next
  170.     instances: 1
  171.     resource_pool: large
  172.     networks:
  173.       - name: default
  174.         default: [dns, gateway]
  175.         static_ips:
  176.        - 10.11.12.18
  177.  
  178. properties:
  179.   domain: 192.168.124.226.xip.io
  180.   system_domain: 192.168.124.226.xip.io
  181.   system_domain_organization: system_domain
  182.   app_domains:
  183.    - 192.168.124.226.xip.io
  184.  
  185.   networks:
  186.     apps: default
  187.     management: default
  188.  
  189.   nats:
  190.     address: 10.11.12.10
  191.     port: 4222
  192.     user: nats
  193.     password: <%= common_password %>
  194.     authorization_timeout: 10
  195.  
  196.   router:
  197.     port: 8081
  198.     status:
  199.       port: 8080
  200.       user: gorouter
  201.       password: <%= common_password %>
  202.  
  203.   dea: &dea
  204.     max_memory: 8192
  205.     memory_mb: 8192
  206.     memory_overcommit_factor: 4
  207.     disk_mb: 16384
  208.     disk_overcommit_factor: 4
  209.     directory_server_protocol: http
  210.  
  211.   dea_next: *dea
  212.  
  213.   syslog_aggregator:
  214.     address: 10.11.12.11
  215.     port: 54321
  216.  
  217.   nfs_server:
  218.     address: 10.11.12.13
  219.     network: 10.11.12.0/24
  220.  
  221.   debian_nfs_server:
  222.     no_root_squash: true
  223.  
  224.   databases: &databases
  225.     db_scheme: postgres
  226.     address: 10.11.12.12
  227.     port: 5524
  228.     roles:
  229.       - tag: admin
  230.         name: ccadmin
  231.         password: <%= common_password %>
  232.       - tag: admin
  233.         name: uaaadmin
  234.         password: <%= common_password %>
  235.     databases:
  236.       - tag: cc
  237.         name: ccdb
  238.         citext: true
  239.       - tag: uaa
  240.         name: uaadb
  241.         citext: true
  242.  
  243.   ccdb: &ccdb
  244.     db_scheme: postgres
  245.     address: 10.11.12.12
  246.     port: 5524
  247.     roles:
  248.       - tag: admin
  249.         name: ccadmin
  250.         password: <%= common_password %>
  251.     databases:
  252.       - tag: cc
  253.         name: ccdb
  254.         citext: true
  255.  
  256.   ccdb_ng: *ccdb
  257.  
  258.   uaadb:
  259.     db_scheme: postgresql
  260.     address: 10.11.12.12
  261.     port: 5524
  262.     roles:
  263.       - tag: admin
  264.         name: uaaadmin
  265.         password: <%= common_password %>
  266.     databases:
  267.       - tag: uaa
  268.         name: uaadb
  269.         citext: true
  270.  
  271.   cc_api_version: v2
  272.  
  273.   cc: &cc
  274.     logging_level: debug
  275.     external_host: ccng
  276.     srv_api_uri: http://api.192.168.124.226.xip.io
  277.     cc_partition: default
  278.     db_encryption_key: <%= common_password %>
  279.     bootstrap_admin_email: [email protected]
  280.     bulk_api_password: <%= common_password %>
  281.     uaa_resource_id: cloud_controller
  282.     staging_upload_user: uploaduser
  283.     staging_upload_password: <%= common_password %>
  284.     resource_pool:
  285.       resource_directory_key: cc-resources
  286.     packages:
  287.       app_package_directory_key: cc-packages
  288.     droplets:
  289.       droplet_directory_key: cc-droplets
  290.     default_quota_definition: runaway
  291.  
  292.   ccng: *cc
  293.  
  294.   login:
  295.     enabled: false
  296.  
  297.   uaa:
  298.     url: http://uaa.192.168.124.226.xip.io
  299.     no_ssl: true
  300.     catalina_opts: -Xmx768m -XX:MaxPermSize=256m
  301.     resource_id: account_manager
  302.     jwt:
  303.       signing_key: |
  304.        -----BEGIN RSA PRIVATE KEY-----
  305.         MIICXAIBAAKBgQDHFr+KICms+tuT1OXJwhCUmR2dKVy7psa8xzElSyzqx7oJyfJ1
  306.         JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMXqHxf+ZH9BL1gk9Y6kCnbM5R6
  307.         0gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBugspULZVNRxq7veq/fzwIDAQAB
  308.         AoGBAJ8dRTQFhIllbHx4GLbpTQsWXJ6w4hZvskJKCLM/o8R4n+0W45pQ1xEiYKdA
  309.         Z/DRcnjltylRImBD8XuLL8iYOQSZXNMb1h3g5/UGbUXLmCgQLOUUlnYt34QOQm+0
  310.         KvUqfMSFBbKMsYBAoQmNdTHBaz3dZa8ON9hh/f5TT8u0OWNRAkEA5opzsIXv+52J
  311.         duc1VGyX3SwlxiE2dStW8wZqGiuLH142n6MKnkLU4ctNLiclw6BZePXFZYIK+AkE
  312.         xQ+k16je5QJBAN0TIKMPWIbbHVr5rkdUqOyezlFFWYOwnMmw/BKa1d3zp54VP/P8
  313.         +5aQ2d4sMoKEOfdWH7UqMe3FszfYFvSu5KMCQFMYeFaaEEP7Jn8rGzfQ5HQd44ek
  314.         lQJqmq6CE2BXbY/i34FuvPcKU70HEEygY6Y9d8J3o6zQ0K9SYNu+pcXt4lkCQA3h
  315.         jJQQe5uEGJTExqed7jllQ0khFJzLMx0K6tj0NeeIzAaGCQz13oo2sCdeGRHO4aDh
  316.         HH6Qlq/6UOV5wP8+GAcCQFgRCcB+hrje8hfEEefHcFpyKH+5g1Eu1k0mLrxK2zd+
  317.         4SlotYRHgPCEubokb2S1zfZDWIXW3HmggnGgM949TlY=
  318.         -----END RSA PRIVATE KEY-----
  319.       verification_key: |
  320.        -----BEGIN PUBLIC KEY-----
  321.         MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHFr+KICms+tuT1OXJwhCUmR2d
  322.         KVy7psa8xzElSyzqx7oJyfJ1JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMX
  323.         qHxf+ZH9BL1gk9Y6kCnbM5R60gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBug
  324.         spULZVNRxq7veq/fzwIDAQAB
  325.         -----END PUBLIC KEY-----
  326.     cc:
  327.       client_secret: <%= common_password %>
  328.     admin:
  329.       client_secret: <%= common_password %>
  330.     batch:
  331.       username: batch
  332.       password: <%= common_password %>
  333.     client:
  334.       autoapprove:
  335.        - cf
  336.     clients:
  337.       cf:
  338.         override: true
  339.         authorized-grant-types: password,implicit,refresh_token
  340.         authorities: uaa.none
  341.         scope: cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write
  342.         access-token-validity: 7200
  343.         refresh-token-validity: 1209600
  344.       admin:
  345.         secret: <%= common_password %>
  346.         authorized-grant-types: client_credentials
  347.         authorities: clients.read,clients.write,clients.secret,password.write,scim.read,uaa.admin
  348.     scim:
  349.       userids_enabled: true
  350.       users:
  351.      - admin|<%= common_password %>|scim.write,scim.read,openid,cloud_controller.admin,uaa.admin,password.write
  352.       - services|<%= common_password %>|scim.write,scim.read,openid,cloud_controller.admin
Advertisement
Add Comment
Please, Sign In to add comment