Commit Graph

21 Commits (a5fbf17743235d2fa5f7d5de77367ae953da450a)

Author SHA1 Message Date
Angus Salkeld a5fbf17743 Remerge common code with glance.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 14:14:25 +11:00
Ian Main 3fad43a5e2 Add config cp to README doc.
Signed-off-by: Ian Main <imain@redhat.com>
2012-03-15 17:15:05 -07:00
Angus Salkeld 072800e2c2 Don't crash if there is no "AWS::CloudFormation::Init" section.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 11:02:00 +11:00
Angus Salkeld 82888427f3 Move the default port number into common.config
It was defined in multiple places.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 10:12:45 +11:00
Angus Salkeld 0f6375a931 Change the default port references to DEFAULT_PORT
If we need to change it again then this will make it easier.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-16 09:05:20 +11:00
Ian Main b987031f7c Fix missing paren.
Signed-off-by: Ian Main <imain@redhat.com>
2012-03-15 13:36:40 -07:00
Angus Salkeld 077ff505d2 Add a call to start cape process.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 22:25:45 +11:00
Angus Salkeld a76d02e790 Hook up the update and delete (not quite working)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 22:24:42 +11:00
Angus Salkeld a321e3c880 Add a very rough-and-ready conversion from json to xml for cape
This needs lots of improvements. And is only tested
with templates/WordPress_Single_Instance.template

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 21:34:43 +11:00
Angus Salkeld a5ea8a4c55 Add support for getting the template via url else we get RequestUriTooLong
The nutty cloudforms api passes the template in via parameters.
TemplateUrl is better.

try:
./bin/heat create my_stack --template-url=https://raw.github.com/asalkeld/heat/master/templates/WordPress_Single_Instance.template

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 21:22:05 +11:00
Angus Salkeld 97b6c95df0 Add missing RequestUriTooLong exception.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 16:49:50 +11:00
Angus Salkeld da35a068e9 Fix the systemd service section in the template.
To be consistent with the sysvinit one.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 16:49:10 +11:00
Angus Salkeld c0b95312c4 Add a disto mapping to get the image name.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 15:08:59 +11:00
Angus Salkeld 83ba8d9519 Simplify the template more.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 13:43:15 +11:00
Angus Salkeld 7739de101e Add a simple single instance wordpress template
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 10:40:02 +11:00
Angus Salkeld 2fde25bc11 Remove openstack copy right assignment as we have not done that yet.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 09:36:51 +11:00
Angus Salkeld fc413d9327 Add a simple in-memory "db" so we can create/list stacks
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-14 13:02:53 +11:00
Angus Salkeld 41d167c560 Add setup.py and friends
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-14 09:25:54 +11:00
Angus Salkeld 38de4d2564 Add simple readme
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 22:27:42 +11:00
Angus Salkeld ca303152e6 Fix Parameters
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 22:20:40 +11:00
Angus Salkeld 3b9c41fb6c Initial commit (basics copied from glance)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 21:48:07 +11:00