Advertisement
Guest User

rubber.yml

a guest
Mar 4th, 2014
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 2.12 KB | None | 0 0
  1. app_name: app
  2. app_user: kasperi
  3. admin_email: <my gmail>
  4. timezone: US/eastern
  5. domain: myapp.com
  6.  
  7. cloud_providers:
  8.   aws:
  9.   region: us-east-1
  10.   access_key: <hidden>
  11.   secret_access_key: <hidden>
  12.   account: <hidden>
  13.  
  14.   key_name: gsg-keypair
  15.   key_file: "#{Dir[(File.expand_path('~') rescue '/root') + '/ec2/*' + cloud_providers.aws.key_name].first}"
  16.  
  17.   image_type: c1.medium
  18.   image_id: ami-b6089bdf
  19.  
  20.   digital_ocean:
  21.  
  22.   region: New York 1
  23.   image_id: Ubuntu 12.04.3 x64
  24.   image_type: 512MB
  25.  
  26.   fog:
  27.     credentials:
  28.       provider: rackspace
  29.       rackspace_api_key: 'XXX'
  30.       rackspace_username: 'YYY'
  31.     image_type: 123
  32.     image_id: 123
  33.  
  34.   clour_provider: aws
  35.  
  36.   web_port: 80
  37.   web_ssl_port: 443
  38.   web_tools_port: 8080
  39.   web_tools_ssl_port: 8443
  40.  
  41.   security_groups:
  42.  
  43.   web:
  44.     description: "To open up port #{web_port}/#{web_ssl_port} for http server on web role"
  45.     rules:
  46.       - protocol: tcp
  47.         from_port: "#{web_port}"
  48.         to_port: "#{web_port}"
  49.         source_ips: [0.0.0.0/0]
  50.       - protocol: tcp
  51.         from_port: "#{web_ssl_port}"
  52.         to_port: "#{web_ssl_port}"
  53.         source_ips: [0.0.0.0/0]
  54.   web_tools:
  55.     description: "To open up port #{web_tools_port}/#{web_tools_ssl_port} for internal/tools http server"
  56.     rules:
  57.       - protocol: tcp
  58.         from_port: "#{web_tools_port}"
  59.         to_port: "#{web_tools_port}"
  60.         source_ips: [0.0.0.0/0]
  61.       - protocol: tcp
  62.         from_port: "#{web_tools_ssl_port}"
  63.         to_port: "#{web_tools_ssl_port}"
  64.         source_ips: [0.0.0.0/0]
  65.  
  66. assigned_security_groups: [default]
  67. roles:
  68.   web:
  69.     assigned_security_groups: [web]
  70.   web_tools:
  71.     assigned_security_groups: [web_tools]
  72.  
  73.  
  74. auto_security_groups: false
  75.  
  76. isolate_security_groups: false
  77.  
  78. prompt_for_security_group_sync: false
  79.  
  80. private_networks: [10.0.0.0/8]
  81.  
  82. packages: [postfix, build-essential, git-core, libxslt-dev, ntp]
  83.  
  84. gems: [open4, aws-s3, bundler, [rubber, "#{Rubber.version}"]]
  85.  
  86. stop_on_error_cmd: "function error_exit { exit 99; }; trap error_exit ERR"
  87.  
  88. staging_roles: "#{known_roles.reject {|r| r =~ /slave/ || r =~ /^db$/ }.join(',')}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement