virtualmonkey 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/LICENSE +20 -0
- data/README.rdoc +77 -0
- data/Rakefile +51 -0
- data/VERSION +1 -0
- data/bin/grinder +102 -0
- data/bin/mcicp +46 -0
- data/bin/monkey +12 -0
- data/bin/vary_instance_types +59 -0
- data/config/cloud_variables/all_clouds.json +30 -0
- data/config/cloud_variables/east.json +9 -0
- data/config/cloud_variables/rackspace.json +7 -0
- data/config/cloud_variables/west.json +9 -0
- data/config/common_inputs/apache_haproxy.json +27 -0
- data/config/common_inputs/base.json +5 -0
- data/config/common_inputs/ebs_toolbox.json +10 -0
- data/config/common_inputs/haproxy.json +15 -0
- data/config/common_inputs/lamp.json +30 -0
- data/config/common_inputs/mysql.json +24 -0
- data/config/common_inputs/none.json +4 -0
- data/config/common_inputs/php.json +25 -0
- data/config/common_inputs/php_aio_trial_chef_alpha.json +3 -0
- data/config/common_inputs/php_app_fe_chef.json +12 -0
- data/config/common_inputs/php_elb.json +12 -0
- data/config/common_inputs/qstart.json +5 -0
- data/config/common_inputs/rails.json +31 -0
- data/config/common_inputs/rails_aio_demo_chef_alpha.json +3 -0
- data/config/common_inputs/rails_aio_developer_chef_alpha.json +10 -0
- data/config/common_inputs/rsgrid.json +10 -0
- data/config/common_inputs/tomcat.json +15 -0
- data/config/common_inputs/windows_blog_engine.json +3 -0
- data/config/common_inputs/windows_net_aio.json +14 -0
- data/config/troop/11H1/backup/base.json +10 -0
- data/config/troop/11H1/backup/lamp_mysql_50.json +10 -0
- data/config/troop/11H1/backup/lamp_mysql_51.json +10 -0
- data/config/troop/11H1/backup/loadbalancer-php.json +13 -0
- data/config/troop/11H1/backup/loadbalancer.json +14 -0
- data/config/troop/11H1/backup/loadbalancer_rails.json +13 -0
- data/config/troop/11H1/backup/loadbalancer_tomcat6.json +13 -0
- data/config/troop/11H1/backup/mysql50.json +11 -0
- data/config/troop/11H1/backup/mysql50_toolbox.json +12 -0
- data/config/troop/11H1/backup/mysql51.json +11 -0
- data/config/troop/11H1/backup/mysql51_toolbox.json +12 -0
- data/config/troop/11H1/backup/php_elb.json +11 -0
- data/config/troop/11H1/base.json +10 -0
- data/config/troop/11H1/ebs_toolbox.json +12 -0
- data/config/troop/11H1/lamp_mysql_50.json +10 -0
- data/config/troop/11H1/lamp_mysql_51.json +10 -0
- data/config/troop/11H1/loadbalancer-php.json +13 -0
- data/config/troop/11H1/loadbalancer.json +17 -0
- data/config/troop/11H1/loadbalancer_rails.json +13 -0
- data/config/troop/11H1/loadbalancer_tomcat6.json +13 -0
- data/config/troop/11H1/mysql50.json +11 -0
- data/config/troop/11H1/mysql50_toolbox.json +12 -0
- data/config/troop/11H1/mysql51.json +11 -0
- data/config/troop/11H1/mysql51_awsdns.json +11 -0
- data/config/troop/11H1/mysql51_debug.json +11 -0
- data/config/troop/11H1/mysql51_toolbox.json +12 -0
- data/config/troop/11H1/php.json +13 -0
- data/config/troop/11H1/php_elb.json +11 -0
- data/config/troop/11H1/rails.json +13 -0
- data/config/troop/11H1/tomcat6.json +13 -0
- data/config/troop/chef_quickstart.json +10 -0
- data/config/troop/just_elb +10 -0
- data/config/troop/lamp_v4.json +10 -0
- data/config/troop/patch_test.json +10 -0
- data/config/troop/rightlink.json +10 -0
- data/config/troop/simple_fail.json +11 -0
- data/config/troop/simple_pass.json +11 -0
- data/config/troop/windows_blog_engine.json +10 -0
- data/config/troop/windows_net_aio.json +10 -0
- data/config/troop/windows_quick_start.json +10 -0
- data/features/base.rb +31 -0
- data/features/db_toolbox.rb +59 -0
- data/features/ebs_toolbox.rb +62 -0
- data/features/lamp.rb +33 -0
- data/features/lb-apache-haproxy.rb +49 -0
- data/features/mysql_5.x_v2_v4_from_scratch.rb +71 -0
- data/features/mysql_5.x_v2_v4_from_scratch_awsdns.rb +71 -0
- data/features/mysql_5.x_v2_v4_from_scratch_dyndns.rb +71 -0
- data/features/mysql_v1_upgrade_v2.rb +54 -0
- data/features/old_cuke_features/Rakefile +121 -0
- data/features/old_cuke_features/Steps-TODO +31 -0
- data/features/old_cuke_features/app_state.feature +25 -0
- data/features/old_cuke_features/app_test.feature +24 -0
- data/features/old_cuke_features/base.feature +16 -0
- data/features/old_cuke_features/chef_quickstart.feature +11 -0
- data/features/old_cuke_features/db_toolbox.feature +38 -0
- data/features/old_cuke_features/ebs_toolbox.feature +39 -0
- data/features/old_cuke_features/elb_create_delete.feature +41 -0
- data/features/old_cuke_features/elb_generic.feature +27 -0
- data/features/old_cuke_features/fe_app_checks.feature +21 -0
- data/features/old_cuke_features/just-start.feature +13 -0
- data/features/old_cuke_features/lamp.feature +15 -0
- data/features/old_cuke_features/lb-apache-haproxy.feature +27 -0
- data/features/old_cuke_features/mysql_5.x_v2_v4_from_scratch.feature +33 -0
- data/features/old_cuke_features/mysql_5.x_v2_v4_from_scratch_awsdns.feature +33 -0
- data/features/old_cuke_features/mysql_5.x_v2_v4_from_scratch_dyndns.feature +33 -0
- data/features/old_cuke_features/mysql_chef_premium.feature +27 -0
- data/features/old_cuke_features/mysql_chef_premium_from_scratch.feature +37 -0
- data/features/old_cuke_features/mysql_v1_upgrade_v2.feature +42 -0
- data/features/old_cuke_features/php.feature +27 -0
- data/features/old_cuke_features/php_aio_trial_chef_alpha.feature +11 -0
- data/features/old_cuke_features/php_chef.feature +21 -0
- data/features/old_cuke_features/php_elb.feature +41 -0
- data/features/old_cuke_features/rails.feature +26 -0
- data/features/old_cuke_features/rails_aio_developer_chef.feature +17 -0
- data/features/old_cuke_features/reboot.feature +23 -0
- data/features/old_cuke_features/rightlink.feature +19 -0
- data/features/old_cuke_features/rsgrid.feature +19 -0
- data/features/old_cuke_features/simple.feature +8 -0
- data/features/old_cuke_features/simple_fail.feature +9 -0
- data/features/old_cuke_features/start-stop.feature +13 -0
- data/features/old_cuke_features/step_definitions/app.rb +21 -0
- data/features/old_cuke_features/step_definitions/deployment_steps.rb +112 -0
- data/features/old_cuke_features/step_definitions/ebs.rb +36 -0
- data/features/old_cuke_features/step_definitions/elb.rb +35 -0
- data/features/old_cuke_features/step_definitions/lb.rb +22 -0
- data/features/old_cuke_features/step_definitions/mysql_steps.rb +84 -0
- data/features/old_cuke_features/terminate.feature +7 -0
- data/features/old_cuke_features/tomcat6-tests-TODO +29 -0
- data/features/old_cuke_features/tomcat6.feature +27 -0
- data/features/patch_test.rb +33 -0
- data/features/php.rb +54 -0
- data/features/php_elb.rb +78 -0
- data/features/rails.rb +54 -0
- data/features/start_only.rb +26 -0
- data/features/tomcat6.rb +54 -0
- data/lib/virtualmonkey.rb +28 -0
- data/lib/virtualmonkey/application.rb +75 -0
- data/lib/virtualmonkey/application_frontend.rb +42 -0
- data/lib/virtualmonkey/command.rb +39 -0
- data/lib/virtualmonkey/command/clone.rb +50 -0
- data/lib/virtualmonkey/command/create.rb +21 -0
- data/lib/virtualmonkey/command/destroy.rb +51 -0
- data/lib/virtualmonkey/command/list.rb +10 -0
- data/lib/virtualmonkey/command/run.rb +76 -0
- data/lib/virtualmonkey/command/troop.rb +146 -0
- data/lib/virtualmonkey/cuke_monk.rb +184 -0
- data/lib/virtualmonkey/deployment_monk.rb +132 -0
- data/lib/virtualmonkey/deployment_runner.rb +333 -0
- data/lib/virtualmonkey/ebs.rb +161 -0
- data/lib/virtualmonkey/ebs_runner.rb +59 -0
- data/lib/virtualmonkey/elb_runner.rb +194 -0
- data/lib/virtualmonkey/fe_app_runner.rb +7 -0
- data/lib/virtualmonkey/file_locations.rb +7 -0
- data/lib/virtualmonkey/frontend.rb +124 -0
- data/lib/virtualmonkey/http_checks.rb +33 -0
- data/lib/virtualmonkey/index.html.erb +109 -0
- data/lib/virtualmonkey/lamp_runner.rb +29 -0
- data/lib/virtualmonkey/mysql.rb +172 -0
- data/lib/virtualmonkey/mysql_runner.rb +108 -0
- data/lib/virtualmonkey/mysql_toolbox_runner.rb +51 -0
- data/lib/virtualmonkey/patch_runner.rb +46 -0
- data/lib/virtualmonkey/php_aio_trial_chef_runner.rb +6 -0
- data/lib/virtualmonkey/php_chef_runner.rb +69 -0
- data/lib/virtualmonkey/rails_aio_developer_chef_runner.rb +8 -0
- data/lib/virtualmonkey/shared_dns.rb +67 -0
- data/lib/virtualmonkey/simple.rb +5 -0
- data/lib/virtualmonkey/simple_runner.rb +6 -0
- data/lib/virtualmonkey/test_case_interface.rb +151 -0
- data/lib/virtualmonkey/unified_application.rb +40 -0
- data/spec/bug3518.rb +16 -0
- data/spec/concurrent_writes_spec.rb +26 -0
- data/spec/cuke_job_spec.rb +26 -0
- data/spec/ek.rb +28 -0
- data/spec/little_ruby.rb +20 -0
- data/spec/mini.rb +25 -0
- data/spec/monitoring.rb +13 -0
- data/spec/release_aws_dns.rb +5 -0
- data/spec/release_dns.rb +5 -0
- data/spec/release_dyndns.rb +5 -0
- data/spec/shared_resources_spec.rb +25 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +11 -0
- data/spec/virtualmonkey_spec.rb +7 -0
- data/virtualmonkey.gemspec +265 -0
- 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,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,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,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,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,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,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,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
|
+
}
|