]> review.fuel-infra Code Review - openstack-build/heat-build.git/log
openstack-build/heat-build.git
13 years agoAdding the nova.exeption import to fix the tree
Chris Alfonso [Tue, 24 Apr 2012 20:53:31 +0000 (16:53 -0400)]
Adding the nova.exeption import to fix the tree

13 years agoAdd file support to cfn-init
Angus Salkeld [Thu, 26 Apr 2012 04:07:12 +0000 (14:07 +1000)]
Add file support to cfn-init

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoLog when cfn-hup couldn't restart a service
Tomas Sedovic [Wed, 25 Apr 2012 14:34:59 +0000 (16:34 +0200)]
Log when cfn-hup couldn't restart a service

`service.restarted` hooks are not run when the restart failed.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoMake cfn-hup configuration handling closer to aws
Tomas Sedovic [Tue, 24 Apr 2012 14:41:35 +0000 (16:41 +0200)]
Make cfn-hup configuration handling closer to aws

We now enforce the presence of the [main] configuration section, check that the
credentials file exists and ensure that there is at least one hook defined.

13 years agoBetter error messages for cfn-hup configuration
Tomas Sedovic [Tue, 24 Apr 2012 12:56:15 +0000 (14:56 +0200)]
Better error messages for cfn-hup configuration

13 years agomore work on cfn-hup
Angus Salkeld [Tue, 24 Apr 2012 03:57:51 +0000 (13:57 +1000)]
more work on cfn-hup

- correct the default config files
- seperate out the monitoring of services

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMerge remote-tracking branch 'origin/master' into ha
Angus Salkeld [Tue, 24 Apr 2012 00:34:38 +0000 (10:34 +1000)]
Merge remote-tracking branch 'origin/master' into ha

13 years agoAdd test case for boolean.
Angus Salkeld [Tue, 24 Apr 2012 00:32:58 +0000 (10:32 +1000)]
Add test case for boolean.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAssert the instance auto increment on the id worked
Chris Alfonso [Mon, 23 Apr 2012 20:37:09 +0000 (16:37 -0400)]
Assert the instance auto increment on the id worked

13 years agoRemoving the run_tests.py, was replaced by heat/testing/runner.py
Chris Alfonso [Mon, 23 Apr 2012 18:47:44 +0000 (14:47 -0400)]
Removing the run_tests.py, was replaced by heat/testing/runner.py

13 years agoChanging version scheme to just major
Chris Alfonso [Mon, 23 Apr 2012 18:46:49 +0000 (14:46 -0400)]
Changing version scheme to just major

13 years agoMerge branch 'resource_unit_tests'
Chris Alfonso [Mon, 23 Apr 2012 13:26:57 +0000 (09:26 -0400)]
Merge branch 'resource_unit_tests'

13 years agoAdding instance creation test
Chris Alfonso [Thu, 19 Apr 2012 23:24:28 +0000 (19:24 -0400)]
Adding instance creation test

Signed-off-by: Chris Alfonso <calfonso@redhat.com>
13 years agoFix `to_boolean` in cfn_helper
Tomas Sedovic [Mon, 23 Apr 2012 13:10:33 +0000 (15:10 +0200)]
Fix `to_boolean` in cfn_helper

The lowercase conversion and striping whitespace from strings was being ignored.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoTry and keep track of the stack status.
Angus Salkeld [Mon, 23 Apr 2012 12:59:27 +0000 (22:59 +1000)]
Try and keep track of the stack status.

Ref: #93

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdded db setup and teardown with sqlite
Chris Alfonso [Thu, 19 Apr 2012 22:10:20 +0000 (18:10 -0400)]
Added db setup and teardown with sqlite

13 years agoAdding unit test for instance creation
Chris Alfonso [Wed, 18 Apr 2012 13:03:17 +0000 (09:03 -0400)]
Adding unit test for instance creation

13 years agoAdding resource initialization test
Chris Alfonso [Tue, 17 Apr 2012 19:55:36 +0000 (15:55 -0400)]
Adding resource initialization test

13 years agoAdding instance creation test
Chris Alfonso [Thu, 19 Apr 2012 23:24:28 +0000 (19:24 -0400)]
Adding instance creation test

13 years agoAdded db setup and teardown with sqlite
Chris Alfonso [Thu, 19 Apr 2012 22:10:20 +0000 (18:10 -0400)]
Added db setup and teardown with sqlite

13 years agoAdding unit test for instance creation
Chris Alfonso [Wed, 18 Apr 2012 13:03:17 +0000 (09:03 -0400)]
Adding unit test for instance creation

13 years agoAdding resource initialization test
Chris Alfonso [Tue, 17 Apr 2012 19:55:36 +0000 (15:55 -0400)]
Adding resource initialization test

13 years agoInitial cfn-hup (wip)
Angus Salkeld [Mon, 23 Apr 2012 09:54:11 +0000 (19:54 +1000)]
Initial cfn-hup (wip)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMove common cfn code into cfn_helper.py
Angus Salkeld [Mon, 23 Apr 2012 03:08:32 +0000 (13:08 +1000)]
Move common cfn code into cfn_helper.py

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix more pep8 errors.
Angus Salkeld [Mon, 23 Apr 2012 02:04:46 +0000 (12:04 +1000)]
Fix more pep8 errors.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUpdate version to v3
Steven Dake [Mon, 23 Apr 2012 01:39:11 +0000 (18:39 -0700)]
Update version to v3

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoWordpress 2 instance with EBS and EIP
Steven Dake [Fri, 20 Apr 2012 21:48:59 +0000 (14:48 -0700)]
Wordpress 2 instance with EBS and EIP

srs.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoheat cli : Add bash_completion.d entry for heat
Steven Hardy [Fri, 20 Apr 2012 19:54:04 +0000 (20:54 +0100)]
heat cli : Add bash_completion.d entry for heat

issue #87 Adds basic bash smart-complete script for heat to bash_completion.d

Signed-off-by: Steven Hardy <shardy@redhat.com>
13 years agoheat cli: Use python logging module
Steven Hardy [Fri, 20 Apr 2012 19:42:29 +0000 (20:42 +0100)]
heat cli: Use python logging module

Issue #88 : Adds support for logging via the python logging module

Signed-off-by: Steven Hardy <shardy@redhat.com>
13 years agoFix another print -> logger.warn.
Ian Main [Fri, 20 Apr 2012 18:49:13 +0000 (11:49 -0700)]
Fix another print -> logger.warn.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoresources.py had a bunch of print's in it.
Ian Main [Fri, 20 Apr 2012 18:45:07 +0000 (11:45 -0700)]
resources.py had a bunch of print's in it.

This patch removes all the print statements and puts in proper logging
statements.  Some of these (db tracebacks) are now logged as warnings.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoAdd an exception around EIP fetching.
Ian Main [Fri, 20 Apr 2012 18:38:59 +0000 (11:38 -0700)]
Add an exception around EIP fetching.

I was getting a traceback here causing the whole 'heat describe' to
return an error when really it was just the one aspect failing.  Use
try/rescue and log a warning.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoFix a typo in the command line help.
Ian Main [Fri, 20 Apr 2012 18:07:36 +0000 (11:07 -0700)]
Fix a typo in the command line help.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoUse v1 / v2 / v3 for version numbers to match tags
Steven Dake [Fri, 20 Apr 2012 17:43:18 +0000 (10:43 -0700)]
Use v1 / v2 / v3 for version numbers to match tags

In the next several months since we wont be supporting maintenance releases,
Just use v1/v2/v3/v4 for releases to match our tags.

We can switch to an x.y.z or openstack style versioning when appropriate

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoSet proper author and mailing list in setup.py
Steven Dake [Fri, 20 Apr 2012 17:36:18 +0000 (10:36 -0700)]
Set proper author and mailing list in setup.py

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRemove BUILDING.rst since there is no building taking place inside project
Steven Dake [Fri, 20 Apr 2012 17:31:39 +0000 (10:31 -0700)]
Remove BUILDING.rst since there is no building taking place inside project

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRemove rpm spec file and Makefile. Will track packaging in a different repo
Steven Dake [Fri, 20 Apr 2012 17:29:51 +0000 (10:29 -0700)]
Remove rpm spec file and Makefile.  Will track packaging in a different repo

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRemove tito - likely track this in a different repo
Steven Dake [Fri, 20 Apr 2012 17:28:55 +0000 (10:28 -0700)]
Remove tito - likely track this in a different repo

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix the EIP cleanup
Tomas Sedovic [Thu, 19 Apr 2012 16:23:56 +0000 (18:23 +0200)]
Fix the EIP cleanup

Fixes #69

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoAdd documentation for the per command CLI help options.
Ian Main [Wed, 18 Apr 2012 20:25:44 +0000 (13:25 -0700)]
Add documentation for the per command CLI help options.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoheat, heat-api: Add missing licence to header
Steven Hardy [Wed, 18 Apr 2012 19:47:03 +0000 (20:47 +0100)]
heat, heat-api: Add missing licence to header

Adds missing licence header to heat and heat-api

Signed-off-by: Steven Hardy <shardy@redhat.com>
13 years agoRemove rootpw from tdls and add ec2-user to sudoers file
Jeff Peeler [Wed, 18 Apr 2012 19:17:51 +0000 (15:17 -0400)]
Remove rootpw from tdls and add ec2-user to sudoers file

Fixes #72
Fixes #73

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
13 years agoDeleting parsed and raw template when deleting stacks
Chris Alfonso [Wed, 18 Apr 2012 16:29:52 +0000 (12:29 -0400)]
Deleting parsed and raw template when deleting stacks

13 years agoA little more detail on network create.
Ian Main [Wed, 18 Apr 2012 15:53:54 +0000 (08:53 -0700)]
A little more detail on network create.

Signed-off-by: Ian Main <imain@redhat.com>
13 years agoFix the test environment
Tomas Sedovic [Wed, 18 Apr 2012 09:29:48 +0000 (11:29 +0200)]
Fix the test environment

Made sure that `run_tests.sh` works properly (it was failing on the heat/bin
directory) and that all tests pass and the generated logs are .gitignored.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoFix another template attribute in the output section
Angus Salkeld [Wed, 18 Apr 2012 06:16:32 +0000 (16:16 +1000)]
Fix another template attribute in the output section

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUse the correct api to get the volume object.
Angus Salkeld [Wed, 18 Apr 2012 06:15:47 +0000 (16:15 +1000)]
Use the correct api to get the volume object.

It must be volume not nova. But nova is used for the attachment.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoSave the resource if complete or failed
Angus Salkeld [Wed, 18 Apr 2012 06:14:24 +0000 (16:14 +1000)]
Save the resource if complete or failed

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the delete of a volume attach when the create partially succeeded
Angus Salkeld [Wed, 18 Apr 2012 05:47:21 +0000 (15:47 +1000)]
Fix the delete of a volume attach when the create partially succeeded

Fixes #70

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoTo properly populate the output section.
Angus Salkeld [Wed, 18 Apr 2012 05:08:47 +0000 (15:08 +1000)]
To properly populate the output section.

We need to get ipaddresses which are lost as they are
not stored in the template so we need to retrieve them
at runtime.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUse the instance_id for the event "physical_resource_id"
Angus Salkeld [Wed, 18 Apr 2012 04:45:22 +0000 (14:45 +1000)]
Use the instance_id for the event "physical_resource_id"

Just to provide a bit more info.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the output attribute in single instance wp template
Angus Salkeld [Wed, 18 Apr 2012 04:44:08 +0000 (14:44 +1000)]
Fix the output attribute in single instance wp template

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoSave the parsed_template so user parameters are available.
Angus Salkeld [Wed, 18 Apr 2012 04:43:18 +0000 (14:43 +1000)]
Save the parsed_template so user parameters are available.

This caused parsing errors when deleting, as required
references were not available.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the parsed_template columns (missing created_at and updated_at)
Angus Salkeld [Wed, 18 Apr 2012 04:02:25 +0000 (14:02 +1000)]
Fix the parsed_template columns (missing created_at and updated_at)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix the version file (don't import glance's git commit)
Angus Salkeld [Wed, 18 Apr 2012 02:25:16 +0000 (12:25 +1000)]
Fix the version file (don't import glance's git commit)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd WordPress_Single_Instance_With_EBS_EIP.template
Steven Dake [Tue, 17 Apr 2012 17:12:04 +0000 (10:12 -0700)]
Add WordPress_Single_Instance_With_EBS_EIP.template

This template uses EBS, EIP, security groups in a single instance.
Unfortunately because of issue #83 the template doesn't fully start.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRename EBS_Volume to just EBS to pave way for EBS_EIP
Steven Dake [Tue, 17 Apr 2012 16:36:31 +0000 (09:36 -0700)]
Rename EBS_Volume to just EBS to pave way for EBS_EIP

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoMake WordPress_Single_Instance_With_EIP.template work
Steven Dake [Tue, 17 Apr 2012 16:30:21 +0000 (09:30 -0700)]
Make WordPress_Single_Instance_With_EIP.template work

Note I receive an exception in engine.log:
ClientException: Associate floating ip failed (HTTP 500)

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoInitialize sec to None to avoid exception in security group
Steven Dake [Tue, 17 Apr 2012 16:06:16 +0000 (09:06 -0700)]
Initialize sec to None to avoid exception in security group

When an existing security group is not found in nova, heat will trigger
an exception and the stack won't be created.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix invalid JSON in template
Zane Bitter [Tue, 17 Apr 2012 16:04:04 +0000 (18:04 +0200)]
Fix invalid JSON in template

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoStore all event data in DB
Zane Bitter [Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)]
Store all event data in DB

Fixes #64

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoRemove hard-coded paths from DB setup script
Zane Bitter [Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)]
Remove hard-coded paths from DB setup script

Since versions of heat can and will change, we do not want want them
hard-coded in the DB setup script. Instead, use the Python import logic to
determine the location of the module.

This will use the local copy of heat (which is usually what you want) if
run from the top level of the repository. Otherwise it will use the
installed version, as determined by Python.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoAvoid printing exception in db-setup
Zane Bitter [Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)]
Avoid printing exception in db-setup

If the db-setup is run multiple times without dropping the database, the
attempt to set up version control again causes an exception. Since this is
an expected condition, just print a message and exit normally.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoHandle exception on Ctrl-C
root [Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)]
Handle exception on Ctrl-C

Signed-off-by: Zane Bitter <zbitter@redhat.com>
13 years agoUpdated WordPress_Single_Instance.template to work properly.
Steven Dake [Tue, 17 Apr 2012 14:12:21 +0000 (07:12 -0700)]
Updated WordPress_Single_Instance.template to work properly.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoUpdate templates README with list of secure vs insecure templates
Steven Dake [Tue, 17 Apr 2012 03:45:26 +0000 (20:45 -0700)]
Update templates README with list of secure vs insecure templates

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoMake WordPress_Single_Instance_With_EBS_Volume.template functional
Steven Dake [Tue, 17 Apr 2012 03:43:28 +0000 (20:43 -0700)]
Make WordPress_Single_Instance_With_EBS_Volume.template functional

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoremove old experimental code
Angus Salkeld [Tue, 17 Apr 2012 02:09:30 +0000 (12:09 +1000)]
remove old experimental code

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agokill all pep8 errors in parser and resources
Angus Salkeld [Tue, 17 Apr 2012 01:58:57 +0000 (11:58 +1000)]
kill all pep8 errors in parser and resources

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoUpdated templates/README directory to more clearly explain templates
Steven Dake [Mon, 16 Apr 2012 23:46:27 +0000 (16:46 -0700)]
Updated templates/README directory to more clearly explain templates

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRename WordPress_Single_Instance_cfntools.template to not have cfntools in name
Steven Dake [Mon, 16 Apr 2012 23:36:57 +0000 (16:36 -0700)]
Rename WordPress_Single_Instance_cfntools.template to not have cfntools in name

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoRename WordPress_Single_Instance.template to have gold in name
Steven Dake [Mon, 16 Apr 2012 23:36:22 +0000 (16:36 -0700)]
Rename WordPress_Single_Instance.template to have gold in name

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdjust cfn-init -f flag to be implicit
Steven Dake [Mon, 16 Apr 2012 23:34:53 +0000 (16:34 -0700)]
Adjust cfn-init -f flag to be implicit

Fixes issue #75 for WordPress_Single_Instance_cfntools.template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdjust cfn-init to not use -f option
Steven Dake [Mon, 16 Apr 2012 23:33:45 +0000 (16:33 -0700)]
Adjust cfn-init to not use -f option

Fixes issue #75 for WordPress_2_Instances_With_EBS_Volume.template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdjust cfn-init to not take a parameter in the initialization
Steven Dake [Mon, 16 Apr 2012 23:32:09 +0000 (16:32 -0700)]
Adjust cfn-init to not take a parameter in the initialization

WordPress_2_Instances.template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix bug in path on cfn-init
Steven Dake [Mon, 16 Apr 2012 23:29:35 +0000 (16:29 -0700)]
Fix bug in path on cfn-init

Fixes issue #75

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix for issue #75: no more -f in cfn-init
Greg Blomquist [Mon, 16 Apr 2012 21:27:43 +0000 (17:27 -0400)]
Fix for issue #75: no more -f in cfn-init

Removed -f in cfn-init.  Instead, cfn-init reads resource metadata from
/var/lib/cloud/data-cfn-init-data.

Also, added logging.  cfn-init now logs to stdout and to /var/log/cfn-init.log

13 years agogold plating the WordPress_2_Instances template
Steven Dake [Mon, 16 Apr 2012 21:12:19 +0000 (14:12 -0700)]
gold plating the WordPress_2_Instances template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoWordpress 2 with EBS working
Steven Dake [Mon, 16 Apr 2012 20:51:50 +0000 (13:51 -0700)]
Wordpress 2 with EBS working

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoResolving rpmlint errors and adding man pages.
Chris Alfonso [Mon, 16 Apr 2012 17:46:58 +0000 (13:46 -0400)]
Resolving rpmlint errors and adding man pages.

Fixes #67

13 years agoRegister security group with launched instances
Tomas Sedovic [Mon, 16 Apr 2012 14:35:08 +0000 (16:35 +0200)]
Register security group with launched instances

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoFix creation of security group and rules
Tomas Sedovic [Mon, 16 Apr 2012 13:10:31 +0000 (15:10 +0200)]
Fix creation of security group and rules

When the group or rule already exists, The Nova API and client errored out.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
13 years agoFix a heap of pep8 errors
Angus Salkeld [Mon, 16 Apr 2012 07:07:07 +0000 (17:07 +1000)]
Fix a heap of pep8 errors

./run_tests.sh is much cleaner now.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoMake an attempt at passing exception messages from engine to cli.
Angus Salkeld [Mon, 16 Apr 2012 05:37:26 +0000 (15:37 +1000)]
Make an attempt at passing exception messages from engine to cli.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoFix 'heat describe'
Angus Salkeld [Mon, 16 Apr 2012 03:36:07 +0000 (13:36 +1000)]
Fix 'heat describe'

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd a traceback on exception caught
Steven Dake [Mon, 16 Apr 2012 03:51:46 +0000 (20:51 -0700)]
Add a traceback on exception caught

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd a README to the templates directory to aid in navigation of the templates
Steven Dake [Mon, 16 Apr 2012 02:13:12 +0000 (19:13 -0700)]
Add a README to the templates directory to aid in navigation of the templates

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd a tools/heat-db-drop script for fatal error recovery
Steven Dake [Mon, 16 Apr 2012 01:53:39 +0000 (18:53 -0700)]
Add a tools/heat-db-drop script for fatal error recovery

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoMake Wordpress_2_Instances.template work properly
Steven Dake [Mon, 16 Apr 2012 00:44:10 +0000 (17:44 -0700)]
Make Wordpress_2_Instances.template work properly

note the mysql instance is not secure because both IPs must be known
ahead of time.  To resolve this problem, we will be using elastic IPs.

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoCheck errors better in resolve_attributes()
Angus Salkeld [Mon, 16 Apr 2012 00:00:39 +0000 (10:00 +1000)]
Check errors better in resolve_attributes()

Add a little more debug.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
13 years agoAdd yum-plugin-fastestmirror on F17-x86_64 cfntools image
Steven Dake [Sun, 15 Apr 2012 18:12:42 +0000 (11:12 -0700)]
Add yum-plugin-fastestmirror on F17-x86_64 cfntools image

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd yum-plugin-fastestmirror to the cfntools images
Steven Dake [Sun, 15 Apr 2012 18:10:50 +0000 (11:10 -0700)]
Add yum-plugin-fastestmirror to the cfntools images

Should speed up the downloading of packages on launch

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoUpdate WordPress_2_Instances.template to use cfntools and cfn-init
Steven Dake [Sun, 15 Apr 2012 17:28:52 +0000 (10:28 -0700)]
Update WordPress_2_Instances.template to use cfntools and cfn-init

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoresources: remove insert_package_and_services
Steven Dake [Sat, 14 Apr 2012 16:36:33 +0000 (09:36 -0700)]
resources: remove insert_package_and_services

Now that we have cfn-init, this hackery is no longer needed

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoProperly launches a cfntools image with the appropriate userdata mime blob
Steven Dake [Sat, 14 Apr 2012 15:10:38 +0000 (08:10 -0700)]
Properly launches a cfntools image with the appropriate userdata mime blob

Note that cfn-init should be run as follows in the userdata script

/opt/aws/bin/cfn-init -f /var/lib/cloud/data/cfn-init-data

This will install the appropriate RPMS and enable them

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoCorrect path to cfninit data
Steven Dake [Sat, 14 Apr 2012 14:57:06 +0000 (07:57 -0700)]
Correct path to cfninit data

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoYet more typos in cfntools template
Steven Dake [Sat, 14 Apr 2012 14:34:08 +0000 (07:34 -0700)]
Yet more typos in cfntools template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoFix typo in template
Steven Dake [Sat, 14 Apr 2012 14:27:15 +0000 (07:27 -0700)]
Fix typo in template

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAdd a cfn-init call to cfntools
Steven Dake [Sat, 14 Apr 2012 14:23:20 +0000 (07:23 -0700)]
Add a cfn-init call to cfntools

Signed-off-by: Steven Dake <sdake@redhat.com>
13 years agoAutomatic commit of package [heat] release [0.0.1-1].
Chris Alfonso [Sat, 14 Apr 2012 12:15:22 +0000 (08:15 -0400)]
Automatic commit of package [heat] release [0.0.1-1].