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