virtualmonkey 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/.document +5 -0
  2. data/LICENSE +20 -0
  3. data/README.rdoc +77 -0
  4. data/Rakefile +51 -0
  5. data/VERSION +1 -0
  6. data/bin/grinder +102 -0
  7. data/bin/mcicp +46 -0
  8. data/bin/monkey +12 -0
  9. data/bin/vary_instance_types +59 -0
  10. data/config/cloud_variables/all_clouds.json +30 -0
  11. data/config/cloud_variables/east.json +9 -0
  12. data/config/cloud_variables/rackspace.json +7 -0
  13. data/config/cloud_variables/west.json +9 -0
  14. data/config/common_inputs/apache_haproxy.json +27 -0
  15. data/config/common_inputs/base.json +5 -0
  16. data/config/common_inputs/ebs_toolbox.json +10 -0
  17. data/config/common_inputs/haproxy.json +15 -0
  18. data/config/common_inputs/lamp.json +30 -0
  19. data/config/common_inputs/mysql.json +24 -0
  20. data/config/common_inputs/none.json +4 -0
  21. data/config/common_inputs/php.json +25 -0
  22. data/config/common_inputs/php_aio_trial_chef_alpha.json +3 -0
  23. data/config/common_inputs/php_app_fe_chef.json +12 -0
  24. data/config/common_inputs/php_elb.json +12 -0
  25. data/config/common_inputs/qstart.json +5 -0
  26. data/config/common_inputs/rails.json +31 -0
  27. data/config/common_inputs/rails_aio_demo_chef_alpha.json +3 -0
  28. data/config/common_inputs/rails_aio_developer_chef_alpha.json +10 -0
  29. data/config/common_inputs/rsgrid.json +10 -0
  30. data/config/common_inputs/tomcat.json +15 -0
  31. data/config/common_inputs/windows_blog_engine.json +3 -0
  32. data/config/common_inputs/windows_net_aio.json +14 -0
  33. data/config/troop/11H1/backup/base.json +10 -0
  34. data/config/troop/11H1/backup/lamp_mysql_50.json +10 -0
  35. data/config/troop/11H1/backup/lamp_mysql_51.json +10 -0
  36. data/config/troop/11H1/backup/loadbalancer-php.json +13 -0
  37. data/config/troop/11H1/backup/loadbalancer.json +14 -0
  38. data/config/troop/11H1/backup/loadbalancer_rails.json +13 -0
  39. data/config/troop/11H1/backup/loadbalancer_tomcat6.json +13 -0
  40. data/config/troop/11H1/backup/mysql50.json +11 -0
  41. data/config/troop/11H1/backup/mysql50_toolbox.json +12 -0
  42. data/config/troop/11H1/backup/mysql51.json +11 -0
  43. data/config/troop/11H1/backup/mysql51_toolbox.json +12 -0
  44. data/config/troop/11H1/backup/php_elb.json +11 -0
  45. data/config/troop/11H1/base.json +10 -0
  46. data/config/troop/11H1/ebs_toolbox.json +12 -0
  47. data/config/troop/11H1/lamp_mysql_50.json +10 -0
  48. data/config/troop/11H1/lamp_mysql_51.json +10 -0
  49. data/config/troop/11H1/loadbalancer-php.json +13 -0
  50. data/config/troop/11H1/loadbalancer.json +17 -0
  51. data/config/troop/11H1/loadbalancer_rails.json +13 -0
  52. data/config/troop/11H1/loadbalancer_tomcat6.json +13 -0
  53. data/config/troop/11H1/mysql50.json +11 -0
  54. data/config/troop/11H1/mysql50_toolbox.json +12 -0
  55. data/config/troop/11H1/mysql51.json +11 -0
  56. data/config/troop/11H1/mysql51_awsdns.json +11 -0
  57. data/config/troop/11H1/mysql51_debug.json +11 -0
  58. data/config/troop/11H1/mysql51_toolbox.json +12 -0
  59. data/config/troop/11H1/php.json +13 -0
  60. data/config/troop/11H1/php_elb.json +11 -0
  61. data/config/troop/11H1/rails.json +13 -0
  62. data/config/troop/11H1/tomcat6.json +13 -0
  63. data/config/troop/chef_quickstart.json +10 -0
  64. data/config/troop/just_elb +10 -0
  65. data/config/troop/lamp_v4.json +10 -0
  66. data/config/troop/patch_test.json +10 -0
  67. data/config/troop/rightlink.json +10 -0
  68. data/config/troop/simple_fail.json +11 -0
  69. data/config/troop/simple_pass.json +11 -0
  70. data/config/troop/windows_blog_engine.json +10 -0
  71. data/config/troop/windows_net_aio.json +10 -0
  72. data/config/troop/windows_quick_start.json +10 -0
  73. data/features/base.rb +31 -0
  74. data/features/db_toolbox.rb +59 -0
  75. data/features/ebs_toolbox.rb +62 -0
  76. data/features/lamp.rb +33 -0
  77. data/features/lb-apache-haproxy.rb +49 -0
  78. data/features/mysql_5.x_v2_v4_from_scratch.rb +71 -0
  79. data/features/mysql_5.x_v2_v4_from_scratch_awsdns.rb +71 -0
  80. data/features/mysql_5.x_v2_v4_from_scratch_dyndns.rb +71 -0
  81. data/features/mysql_v1_upgrade_v2.rb +54 -0
  82. data/features/old_cuke_features/Rakefile +121 -0
  83. data/features/old_cuke_features/Steps-TODO +31 -0
  84. data/features/old_cuke_features/app_state.feature +25 -0
  85. data/features/old_cuke_features/app_test.feature +24 -0
  86. data/features/old_cuke_features/base.feature +16 -0
  87. data/features/old_cuke_features/chef_quickstart.feature +11 -0
  88. data/features/old_cuke_features/db_toolbox.feature +38 -0
  89. data/features/old_cuke_features/ebs_toolbox.feature +39 -0
  90. data/features/old_cuke_features/elb_create_delete.feature +41 -0
  91. data/features/old_cuke_features/elb_generic.feature +27 -0
  92. data/features/old_cuke_features/fe_app_checks.feature +21 -0
  93. data/features/old_cuke_features/just-start.feature +13 -0
  94. data/features/old_cuke_features/lamp.feature +15 -0
  95. data/features/old_cuke_features/lb-apache-haproxy.feature +27 -0
  96. data/features/old_cuke_features/mysql_5.x_v2_v4_from_scratch.feature +33 -0
  97. data/features/old_cuke_features/mysql_5.x_v2_v4_from_scratch_awsdns.feature +33 -0
  98. data/features/old_cuke_features/mysql_5.x_v2_v4_from_scratch_dyndns.feature +33 -0
  99. data/features/old_cuke_features/mysql_chef_premium.feature +27 -0
  100. data/features/old_cuke_features/mysql_chef_premium_from_scratch.feature +37 -0
  101. data/features/old_cuke_features/mysql_v1_upgrade_v2.feature +42 -0
  102. data/features/old_cuke_features/php.feature +27 -0
  103. data/features/old_cuke_features/php_aio_trial_chef_alpha.feature +11 -0
  104. data/features/old_cuke_features/php_chef.feature +21 -0
  105. data/features/old_cuke_features/php_elb.feature +41 -0
  106. data/features/old_cuke_features/rails.feature +26 -0
  107. data/features/old_cuke_features/rails_aio_developer_chef.feature +17 -0
  108. data/features/old_cuke_features/reboot.feature +23 -0
  109. data/features/old_cuke_features/rightlink.feature +19 -0
  110. data/features/old_cuke_features/rsgrid.feature +19 -0
  111. data/features/old_cuke_features/simple.feature +8 -0
  112. data/features/old_cuke_features/simple_fail.feature +9 -0
  113. data/features/old_cuke_features/start-stop.feature +13 -0
  114. data/features/old_cuke_features/step_definitions/app.rb +21 -0
  115. data/features/old_cuke_features/step_definitions/deployment_steps.rb +112 -0
  116. data/features/old_cuke_features/step_definitions/ebs.rb +36 -0
  117. data/features/old_cuke_features/step_definitions/elb.rb +35 -0
  118. data/features/old_cuke_features/step_definitions/lb.rb +22 -0
  119. data/features/old_cuke_features/step_definitions/mysql_steps.rb +84 -0
  120. data/features/old_cuke_features/terminate.feature +7 -0
  121. data/features/old_cuke_features/tomcat6-tests-TODO +29 -0
  122. data/features/old_cuke_features/tomcat6.feature +27 -0
  123. data/features/patch_test.rb +33 -0
  124. data/features/php.rb +54 -0
  125. data/features/php_elb.rb +78 -0
  126. data/features/rails.rb +54 -0
  127. data/features/start_only.rb +26 -0
  128. data/features/tomcat6.rb +54 -0
  129. data/lib/virtualmonkey.rb +28 -0
  130. data/lib/virtualmonkey/application.rb +75 -0
  131. data/lib/virtualmonkey/application_frontend.rb +42 -0
  132. data/lib/virtualmonkey/command.rb +39 -0
  133. data/lib/virtualmonkey/command/clone.rb +50 -0
  134. data/lib/virtualmonkey/command/create.rb +21 -0
  135. data/lib/virtualmonkey/command/destroy.rb +51 -0
  136. data/lib/virtualmonkey/command/list.rb +10 -0
  137. data/lib/virtualmonkey/command/run.rb +76 -0
  138. data/lib/virtualmonkey/command/troop.rb +146 -0
  139. data/lib/virtualmonkey/cuke_monk.rb +184 -0
  140. data/lib/virtualmonkey/deployment_monk.rb +132 -0
  141. data/lib/virtualmonkey/deployment_runner.rb +333 -0
  142. data/lib/virtualmonkey/ebs.rb +161 -0
  143. data/lib/virtualmonkey/ebs_runner.rb +59 -0
  144. data/lib/virtualmonkey/elb_runner.rb +194 -0
  145. data/lib/virtualmonkey/fe_app_runner.rb +7 -0
  146. data/lib/virtualmonkey/file_locations.rb +7 -0
  147. data/lib/virtualmonkey/frontend.rb +124 -0
  148. data/lib/virtualmonkey/http_checks.rb +33 -0
  149. data/lib/virtualmonkey/index.html.erb +109 -0
  150. data/lib/virtualmonkey/lamp_runner.rb +29 -0
  151. data/lib/virtualmonkey/mysql.rb +172 -0
  152. data/lib/virtualmonkey/mysql_runner.rb +108 -0
  153. data/lib/virtualmonkey/mysql_toolbox_runner.rb +51 -0
  154. data/lib/virtualmonkey/patch_runner.rb +46 -0
  155. data/lib/virtualmonkey/php_aio_trial_chef_runner.rb +6 -0
  156. data/lib/virtualmonkey/php_chef_runner.rb +69 -0
  157. data/lib/virtualmonkey/rails_aio_developer_chef_runner.rb +8 -0
  158. data/lib/virtualmonkey/shared_dns.rb +67 -0
  159. data/lib/virtualmonkey/simple.rb +5 -0
  160. data/lib/virtualmonkey/simple_runner.rb +6 -0
  161. data/lib/virtualmonkey/test_case_interface.rb +151 -0
  162. data/lib/virtualmonkey/unified_application.rb +40 -0
  163. data/spec/bug3518.rb +16 -0
  164. data/spec/concurrent_writes_spec.rb +26 -0
  165. data/spec/cuke_job_spec.rb +26 -0
  166. data/spec/ek.rb +28 -0
  167. data/spec/little_ruby.rb +20 -0
  168. data/spec/mini.rb +25 -0
  169. data/spec/monitoring.rb +13 -0
  170. data/spec/release_aws_dns.rb +5 -0
  171. data/spec/release_dns.rb +5 -0
  172. data/spec/release_dyndns.rb +5 -0
  173. data/spec/shared_resources_spec.rb +25 -0
  174. data/spec/spec.opts +1 -0
  175. data/spec/spec_helper.rb +11 -0
  176. data/spec/virtualmonkey_spec.rb +7 -0
  177. data/virtualmonkey.gemspec +265 -0
  178. metadata +428 -0
@@ -0,0 +1,27 @@
1
+ {
2
+ "SYSLOG_SERVER":"env:RS_SYSLOG",
3
+ "PHP_MODULES_LIST":"ignore:$ignore",
4
+ "OPT_TARGET_BIND_ADDRESS":"ignore:$ignore",
5
+ "OPT_SVN_USERNAME":"text:cary",
6
+ "LB_BACKEND_NAME":"env:RS_INSTANCE_UUID",
7
+ "SERVER_UUID":"env:RS_INSTANCE_UUID",
8
+ "OPT_PHP_ENABLE":"text:yes",
9
+ "PRIVATE_SSH_KEY":"key:publish-test:1",
10
+ "OPT_TARGET_BIND_PORT":"ignore:$ignore",
11
+ "RAILS_ENV":"text:production",
12
+ "LB_BIND_PORT":"text:85",
13
+ "WEBSITE_DNS":"text:reg-rails.test.rightscale.com",
14
+ "OPT_SVN_PASSWORD":"cred:cary_wush_svn",
15
+ "LB_BIND_ADDRESS":"text:127.0.0.1",
16
+ "RAILS_VERSION":"text:2.1.2",
17
+ "DBAPPLICATION_USER":"cred:DBAPPLICATION_USER",
18
+ "APPLICATION":"text:app_test",
19
+ "LB_HOSTNAME":"text:foo_overwritten",
20
+ "LB_APPLISTENER_NAME":"text:railsapp",
21
+ "MAX_CONN_PER_SERVER":"text:100",
22
+ "HEALTH_CHECK_URI":"text:/index.html",
23
+ "DB_SCHEMA_NAME":"text:app_test",
24
+ "DBAPPLICATION_PASSWORD":"cred:DBAPPLICATION_PASSWORD"
25
+ }
26
+
27
+
@@ -0,0 +1,5 @@
1
+ {
2
+ "PRIVATE_SSH_KEY":"key:publish-test:1"
3
+ }
4
+
5
+
@@ -0,0 +1,10 @@
1
+ {
2
+ "DB_LINEAGE_NAME" : "text:testlineageUNSET",
3
+ "PRIVATE_SSH_KEY" : "key:publish-test:1",
4
+ "EBS_LINEAGE" : "text:testlineageUNSET",
5
+ "SYSLOG_SERVER" : "env:RS_SYSLOG",
6
+ "EBS_STRIPE_COUNT" : "text:1",
7
+ "EBS_VOLUME_SIZE_GB" : "text:3",
8
+ "EBS_VOLUME_SIZE" : "text:3",
9
+ "EBS_TOTAL_VOLUME_GROUP_SIZE" : "text:3"
10
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "APPLICATION" : "text:tomcatapp",
3
+ "DBAPPLICATION_PASSWORD" : "cred:DBAPPLICATION_PASSWORD",
4
+ "DBAPPLICATION_USER" : "cred:DBAPPLICATION_USER",
5
+ "DB_SCHEMA_NAME" : "text:app_test",
6
+ "HEALTH_CHECK_URI" : "text:/index.html",
7
+ "LB_HOSTNAME" : "env:EC2_LOCAL_HOSTNAME",
8
+ "DB_HOST_NAME" : "text:#{ENV['EC2_PUBLIC_HOSTNAME']}",
9
+ "OPT_SVN_PASSWORD" : "cred:cary_wush_svn",
10
+ "OPT_SVN_USERNAME" : "text:cary",
11
+ "PRIVATE_SSH_KEY":"key:publish-test:1",
12
+ "SVN_APP_REPOSITORY" : "text:https://wush.net/svn/rightscale/unified_test_app/tomcat/dist",
13
+ "SYSLOG_SERVER" : "env:RS_SYSLOG",
14
+ "WEBSITE_DNS" : "text:reg-tomcat.test.rightscale.com"
15
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "SYSLOG_SERVER":"text:syslog.rightscale.com",
3
+ "OPT_PHP_MODULES_LIST":"ignore:$ignore",
4
+ "ADMIN_EMAIL":"text:root@localhost",
5
+ "MON_PROCESSES":"text:mysqld httpd",
6
+ "DB_MYSQLDUMP_BUCKET":"text:lamp-feature-bucket-ap",
7
+ "AWS_ACCESS_KEY_ID":"cred:AWS_ACCESS_KEY_ID",
8
+ "DBADMIN_PASSWORD":"text:admin_pass",
9
+ "APPLICATION_CODE_BUCKET":"text:lamp-feature-bucket-ap",
10
+ "DBADMIN_USER":"text:admin",
11
+ "APACHE_MPM":"text:prefork",
12
+ "WEBSITE_DNS":"env:EC2_PUBLIC_HOSTNAME",
13
+ "OPT_MYSQL_MAX_CONNECTIONS":"ignore:$ignore",
14
+ "DB_SERVER_USAGE":"text:dedicated",
15
+ "OPT_DB_MYSQL_TIMEOUT":"ignore:$ignore",
16
+ "DBAPPLICATION_USER":"cred:DBAPPLICATION_USER",
17
+ "APPLICATION":"text:mephisto",
18
+ "APPLICATION_CODE_PACKAGE":"text:php_unified.tgz",
19
+ "DB_MYSQLDUMP_PREFIX":"text:app_test",
20
+ "OPT_EXPLODE_WAR_FILES_IN_ARCHIVE":"text:false",
21
+ "OPT_SERVE_TOMCAT_APP_AT_ROOT":"text:false",
22
+ "MASTER_DB_DNSNAME":"text:localhost",
23
+ "DB_SCHEMA_NAME":"text:app_test",
24
+ "AWS_SECRET_ACCESS_KEY":"cred:AWS_SECRET_ACCESS_KEY",
25
+ "SYS_TZINFO":"text:UTC",
26
+ "DB_BINLOG_PREFIX":"text:/mnt/mysql-binlogs/mysql-bin",
27
+ "DBAPPLICATION_PASSWORD":"cred:DBAPPLICATION_PASSWORD",
28
+ "SKETCHY":"env:RS_SKETCHY",
29
+ "SERVER_UUID":"env:RS_INSTANCE_UUID"
30
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "DBADMIN_PASSWORD" : "text:admin_passwd",
3
+ "DBADMIN_USER" : "text:admin_user",
4
+ "DBREPLICATION_PASSWORD" : "text:replication_passwd",
5
+ "DBREPLICATION_USER" : "text:replication_user",
6
+ "DBAPPLICATION_PASSWORD" : "text:application_passwd",
7
+ "DBAPPLICATION_USER" : "text:application_user",
8
+ "DB_BACKUP_KEEP_DAILY" : "text:4",
9
+ "DB_BACKUP_KEEP_LAST" : "text:10",
10
+ "DB_BACKUP_KEEP_MONTHLY" : "text:1",
11
+ "DB_BACKUP_KEEP_WEEKLY" : "text:1",
12
+ "DB_BACKUP_KEEP_YEARLY" : "text:1",
13
+ "DB_LINEAGE_NAME" : "text:app_test51",
14
+ "DB_TERMINATE_SAFETY" : "text:off",
15
+ "DNS_PASSWORD" : "cred:DNSMADEEASY_TEST_PASSWORD",
16
+ "DNS_USER" : "cred:DNSMADEEASY_TEST_USER",
17
+ "INIT_SLAVE_AT_BOOT" : "text:false",
18
+ "MASTER_DB_DNSID" : "text:123456",
19
+ "MASTER_DB_DNSNAME" : "text:master-ebs-stripe1.test.rightscale.com",
20
+ "OPT_SYS_LVM_SWAP_SIZE_IN_G" : "text:50",
21
+ "OPT_SYS_LVM_SWAP_SIZE" : "text:50",
22
+ "SERVER_UUID" : "env:RS_INSTANCE_UUID",
23
+ "SLAVE_DB_DNSID" : "text:4635264"
24
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ }
3
+
4
+
@@ -0,0 +1,25 @@
1
+ {
2
+ "PHP_MODULES_LIST" : "ignore:$ignore",
3
+ "OPT_TARGET_BIND_ADDRESS" : "ignore:$ignore",
4
+ "OPT_SVN_USERNAME" : "text:cary",
5
+ "OPT_SSL_PASSPHRASE" : "ignore:$ignore",
6
+ "LB_BACKEND_NAME" : "env:EC2_INSTANCE_ID",
7
+ "SSL_KEY" : "cred:TEST_SSL_KEY",
8
+ "OPT_PHP_ENABLE" : "text:yes",
9
+ "PRIVATE_SSH_KEY" : "key:publish-test:1",
10
+ "OPT_TARGET_BIND_PORT" : "ignore:$ignore",
11
+ "LB_BIND_PORT" : "text:85",
12
+ "WEBSITE_DNS" : "text:reg-php.test.rightscale.com",
13
+ "OPT_SVN_PASSWORD" : "cred:cary_wush_svn",
14
+ "LB_BIND_ADDRESS" : "text:127.0.0.1",
15
+ "SSL_CERTIFICATE" : "cred:TEST_SSL_CERT",
16
+ "DBAPPLICATION_USER" : "cred:DBAPPLICATION_USER",
17
+ "APPLICATION" : "text:phpapp",
18
+ "LB_APPLISTENER_NAME" : "text:phpapp",
19
+ "OPT_VHOST_PORT" : "ignore:$ignore",
20
+ "MAX_CONN_PER_SERVER" : "text:100",
21
+ "HEALTH_CHECK_URI" : "text:/index.html",
22
+ "SVN_APP_REPOSITORY" : "text:https://wush.net/svn/rightscale/unified_test_app/php/build",
23
+ "DB_SCHEMA_NAME" : "text:app_test",
24
+ "DBAPPLICATION_PASSWORD" : "cred:DBAPPLICATION_PASSWORD"
25
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "rs_utils/hostname" : "env:EC2_PUBLIC_HOSTNAME"
3
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "lb_haproxy/health_check_uri" : "text:/index.html",
3
+ "lb_haproxy/host" : "text:localhost",
4
+ "php/code/url" : "text:git://github.com/rightscale/examples",
5
+ "php/code/branch" : "text:unified_php",
6
+ "php/db_dns_name" : "text:notsure",
7
+ "php/db_schema_name" : "text:app_test",
8
+ "php/server_name" : "text:reg-php.test.rightscale.com",
9
+ "rs_utils/hostname" : "env:EC2_HOSTNAME",
10
+ "php/db_app_user" : "cred:DBAPPLICATION_USER",
11
+ "php/db_app_passwd" : "cred:DBAPPLICATION_PASSWORD"
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "OPT_SVN_USERNAME" : "text:cary",
3
+ "OPT_PHP_ENABLE" : "text:yes",
4
+ "PRIVATE_SSH_KEY" : "key:publish-test:1",
5
+ "WEBSITE_DNS" : "text:reg-php.test.rightscale.com",
6
+ "OPT_SVN_PASSWORD" : "cred:cary_wush_svn",
7
+ "DBAPPLICATION_USER" : "cred:DBAPPLICATION_USER",
8
+ "APPLICATION" : "text:phpapp",
9
+ "SVN_APP_REPOSITORY" : "text:https://wush.net/svn/rightscale/unified_test_app/php/build",
10
+ "DB_SCHEMA_NAME" : "text:app_test",
11
+ "DBAPPLICATION_PASSWORD" : "cred:DBAPPLICATION_PASSWORD"
12
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "PRIVATE_SSH_KEY":"key:publish-test:1"
3
+ }
4
+
5
+
@@ -0,0 +1,31 @@
1
+ {
2
+ "SYSLOG_SERVER":"env:RS_SYSLOG",
3
+ "PHP_MODULES_LIST":"ignore:$ignore",
4
+ "OPT_TARGET_BIND_ADDRESS":"ignore:$ignore",
5
+ "OPT_SVN_USERNAME":"text:cary",
6
+ "LB_BACKEND_NAME":"env:EC2_INSTANCE_ID",
7
+ "SERVER_UUID":"env:RS_INSTANCE_UUID",
8
+ "OPT_PHP_ENABLE":"text:yes",
9
+ "PRIVATE_SSH_KEY":"key:publish-test:1",
10
+ "OPT_TARGET_BIND_PORT":"ignore:$ignore",
11
+ "RAILS_ENV":"text:production",
12
+ "LB_BIND_PORT":"text:85",
13
+ "WEBSITE_DNS":"text:reg-rails.test.rightscale.com",
14
+ "OPT_SVN_PASSWORD":"cred:cary_wush_svn",
15
+ "LB_BIND_ADDRESS":"text:127.0.0.1",
16
+ "WEB_SITE_DNS":"text:reg-rails.test.rightscale.com",
17
+ "RAILS_VERSION":"text:2.1.2",
18
+ "DBAPPLICATION_USER":"cred:DBAPPLICATION_USER",
19
+ "APPLICATION":"text:app_test",
20
+ "LB_HOSTNAME":"text:foo_overwritten",
21
+ "LB_APPLISTENER_NAME":"text:railsapp",
22
+ "OPT_VHOST_PORT":"ignore:$ignore",
23
+ "MAX_CONN_PER_SERVER":"text:100",
24
+ "HEALTH_CHECK_URI":"text:/index.html",
25
+ "SVN_APP_REPOSITORY":"text:https://wush.net/svn/rightscale/unified_test_app/rails",
26
+ "DB_SCHEMA_NAME":"text:app_test",
27
+ "DBAPPLICATION_PASSWORD":"cred:DBAPPLICATION_PASSWORD",
28
+ "AWS_ACCESS_KEY_ID":"cred:AWS_ACCESS_KEY_ID",
29
+ "AWS_SECRET_ACCESS_KEY":"cred:AWS_SECRET_ACCESS_KEY"
30
+
31
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "rs_utils/hostname": "env:EC2_PUBLIC_HOSTNAME"
3
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "rs_utils/hostname": "env:EC2_PUBLIC_HOSTNAME",
3
+ "db/admin/user": "cred:DB_ADMIN_USER",
4
+ "db/admin/password": "cred:DB_ADMIN_PASSWORD",
5
+ "rails/code/url": "text:http://github.com/rightscale/examples",
6
+ "rails/db_app_passwd": "cred:DB_APPLICATION_PASSWORD",
7
+ "rails/db_app_user": "cred:DB_APPLICATION_USER",
8
+ "rails/db_schema_name": "text:duno",
9
+ "rails/code/branch": "text:unified_application"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "RAILS_ENV" : "text:development",
3
+ "RSGRID_ERROR_QUEUE" : "text:1273531916264_RSGrid_Quickstart_Error",
4
+ "RSGRID_BUCKET" : "text:RSGrid_Quickstart_2901_1273531916264",
5
+ "RUNDIR" : "text:/mnt/rightgrid",
6
+ "RSGRID_OUTPUT_QUEUE" : "text:1273531916264_RSGrid_Quickstart_Output",
7
+ "RSGRID_INPUT_QUEUE" : "text:1273531916264_RSGrid_Quickstart_Input",
8
+ "RSGRID_AUDIT_QUEUE" : "text:1273531916264_RSGrid_Quickstart_Audit"
9
+ }
10
+
@@ -0,0 +1,15 @@
1
+ {
2
+ "APPLICATION" : "text:tomcatapp",
3
+ "DBAPPLICATION_PASSWORD" : "cred:DBAPPLICATION_PASSWORD",
4
+ "DBAPPLICATION_USER" : "cred:DBAPPLICATION_USER",
5
+ "DB_SCHEMA_NAME" : "text:app_test",
6
+ "HEALTH_CHECK_URI" : "text:/index.html",
7
+ "OPT_SVN_PASSWORD" : "cred:cary_wush_svn",
8
+ "OPT_SVN_USERNAME" : "text:cary",
9
+ "SVN_APP_REPOSITORY" : "text:https://wush.net/svn/rightscale/unified_test_app/tomcat/dist",
10
+ "MASTER_DB_DNSNAME" : "text:<%= ENV['EC2_PUBLIC_HOSTNAME'] %>",
11
+ "WEBSITE_DNS" : "text:reg-tomcat.test.rightscale.com",
12
+ "AWS_ACCESS_KEY_ID":"cred:AWS_ACCESS_KEY_ID",
13
+ "AWS_SECRET_ACCESS_KEY":"cred:AWS_SECRET_ACCESS_KEY"
14
+
15
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "utilities/admin_password" : "text:miramar"
3
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "db_sqlserver/backup/backups_to_keep":"text:3",
3
+ "db_sqlserver/database_name":"text:app_test",
4
+ "utilities/admin_password":"text:miramar",
5
+ "sys_monitoring/monitor_processes":"text:w3wp.exe, ruby.exe",
6
+ "sys_monitoring/monitor_files":"text:c\:/pagefile.sys",
7
+ "svn/username":"ignore:$ignore",
8
+ "svn/repo_path":"text:http://svn.github.com/alexpop/sample_www.git",
9
+ "svn/password":"ignore:$ignore",
10
+ "schtasks/hourly_frequency":"text:8",
11
+ "s3/file_dump":"text:app_test_mssql.sql.zip",
12
+ "s3/bucket_dump":"text:rightscale-us-east-dev",
13
+ "s3/bucket":"text:myBucket"
14
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "tag":"TROOP_BASE",
3
+ "feature":"base.rb",
4
+ "cloud_variables":"all_clouds.json",
5
+ "runner":"SimpleRunner",
6
+ "common_inputs":"base.json",
7
+ "server_template_ids":[
8
+ "84653"
9
+ ]
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "tag":"TROOP_LAMP_MYSQL50",
3
+ "feature":"lamp.rb",
4
+ "cloud_variables":"all_clouds.json",
5
+ "runner":"SimpleRunner",
6
+ "common_inputs":"lamp.json",
7
+ "server_template_ids":[
8
+ "84654"
9
+ ]
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "tag":"TROOP_LAMP_MYSQL51",
3
+ "feature":"lamp.rb",
4
+ "cloud_variables":"all_clouds.json",
5
+ "runner":"SimpleRunner",
6
+ "common_inputs":"lamp.json",
7
+ "server_template_ids":[
8
+ "84655"
9
+ ]
10
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "tag":"TROOP_APACHE_HAPROXY",
3
+ "feature":"lb-apache-haproxy.rb",
4
+ "common_inputs":"php.json",
5
+ "runner":"SimpleRunner",
6
+ "server_template_ids":[
7
+ "84648",
8
+ "84648",
9
+ "84644",
10
+ "84644"
11
+ ],
12
+ "cloud_variables":"all_clouds.json"
13
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "tag":"TROOP_APACHE_HAPROXY",
3
+ "feature":"lb-apache-haproxy.rb",
4
+ "common_inputs":"haproxy.json php.json rails.json tomcat6.json",
5
+ "runner":"SimpleRunner",
6
+ "server_template_ids":[
7
+ "84648",
8
+ "84648",
9
+ "84644",
10
+ "84651",
11
+ "84647"
12
+ ],
13
+ "cloud_variables":"all_clouds.json"
14
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "tag":"TROOP_RAILS_APACHE_HAPROXY",
3
+ "feature":"lb-apache-haproxy.rb",
4
+ "common_inputs":"rails.json",
5
+ "runner":"SimpleRunner",
6
+ "server_template_ids":[
7
+ "84648",
8
+ "84648",
9
+ "84647",
10
+ "84647"
11
+ ],
12
+ "cloud_variables":"east.json"
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "tag":"TROOP_T^_APACHE_HAPROXY",
3
+ "feature":"lb-apache-haproxy.rb",
4
+ "common_inputs":"tomcat.json",
5
+ "runner":"SimpleRunner",
6
+ "server_template_ids":[
7
+ "84648",
8
+ "84648",
9
+ "84651",
10
+ "84651"
11
+ ],
12
+ "cloud_variables":"east.json"
13
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "tag":"MYSQL_50_TROOP",
3
+ "feature":"mysql_5.x_v2_v4_from_scratch.rb",
4
+ "common_inputs":"mysql.json",
5
+ "runner":"MysqlRunner",
6
+ "server_template_ids":[
7
+ "84649",
8
+ "84649"
9
+ ],
10
+ "cloud_variables":"all_clouds.json"
11
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "tag":"MYSQL_50_TOOLBOX_TROOP",
3
+ "runner":"MysqlRunner",
4
+ "common_inputs":"mysql.json",
5
+ "server_template_ids":[
6
+ "84649",
7
+ "84649",
8
+ "84649"
9
+ ],
10
+ "feature":"db_toolbox.rb",
11
+ "cloud_variables":"all_clouds.json"
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "tag":"MYSQL_51_TROOP",
3
+ "runner":"MysqlRunner",
4
+ "common_inputs":"mysql.json",
5
+ "server_template_ids":[
6
+ "84650",
7
+ "84650"
8
+ ],
9
+ "feature":"mysql_5.x_v2_v4_from_scratch.rb",
10
+ "cloud_variables":"all_clouds.json"
11
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "tag":"MYSQL_51_TOOLBOX_TROOP",
3
+ "runner":"MysqlRunner",
4
+ "common_inputs":"mysql.json",
5
+ "server_template_ids":[
6
+ "84650",
7
+ "84650",
8
+ "84650"
9
+ ],
10
+ "feature":"db_toolbox.rb",
11
+ "cloud_variables":"all_clouds.json"
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "tag":"TROOP_PHP_ELB",
3
+ "feature":"php_elb.rb",
4
+ "runner":"SimpleRunner",
5
+ "server_template_ids":[
6
+ "84643",
7
+ "84643"
8
+ ],
9
+ "cloud_variables":"all_clouds.json",
10
+ "common_inputs":"php_elb.json"
11
+ }