30 Commits

Author SHA1 Message Date
Steven Dake
f7d0e0572c Add a README to the templates directory to aid in navigation of the templates
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-15 19:13:12 -07:00
Steven Dake
67c6131536 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>
2012-04-15 17:45:09 -07:00
Steven Dake
ede22be715 Update WordPress_2_Instances.template to use cfntools and cfn-init
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-15 10:28:52 -07:00
Steven Dake
be21044ef8 Correct path to cfninit data
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-14 07:57:06 -07:00
Steven Dake
05f4df4893 Yet more typos in cfntools template
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-14 07:34:08 -07:00
Steven Dake
2d9253b076 Fix typo in template
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-14 07:27:15 -07:00
Steven Dake
c43659dd7a Add a cfn-init call to cfntools
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-14 07:23:20 -07:00
Tomas Sedovic
3cbb97ad00 Use security groups in the multi-instance wp template 2012-04-13 15:56:29 +02:00
Angus Salkeld
0ee8db4459 Add SecurityGroups to make is easier to use EIP
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-13 20:15:46 +10:00
Chris Alfonso
1a3186dc6f fixing small sed typo 2012-04-12 14:00:53 -04:00
Tomas Sedovic
b633c768c4 Add elastic IP and userdata to 2-instance template
Ref: #56

The 2-instance Wordpress template with EBS now uses Elastic IPs for both
servers. The IPs are referenced from the init scripts in UserData.

The template wasn't tested yet.
2012-04-12 18:28:00 +02:00
Tomas Sedovic
ead1838fb7 Move the EIP settings into a different template
We'll keep the WordPress_Single_Instance.template simple.
2012-04-12 16:57:48 +02:00
Angus Salkeld
d41059f6a9 Initial ElasticIp work - not quite working
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-12 13:23:15 +02:00
Jeff Peeler
01488938cf Add 32-bit tdls for Fedora 16,17 jeos (gold and cfntools)
fixes #26

Note that the templates have been adjusted and the naming of the 32-bit
versions to i386 instead of i686. The install really is i686, but making
the arch match what is listed in the install ISO seems less confusing.

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>

Although the 32-bit version of Fedora (and others) ISOs are labeled with i386,
2012-04-11 20:56:45 -04:00
Steven Dake
4b360e33c2 Rename cftools to cfntools in the wordpress single instance template
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-10 18:01:59 -07:00
Tomas Sedovic
434438d2e1 Add 2-instance Wordpress template without EBS
Ref #56

The template has two instances. The Wordpress one depends on DatabaseServer.
Therefore, WP should be started after DB and it should use DB's private IP in
the Wordpress setup.
2012-04-10 18:06:24 +02:00
Angus Salkeld
555bb45cd5 Add a 2 instance wordpress example
Ref #56

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-10 14:20:23 +10:00
Steven Dake
ebdf76e1e8 Pre-bake cftools into an image
After this change, new JEOS will need to be created since the JEOS
names have changed.

For a cfntool image:
heat jeos_create F16 x86_64 cftools

For a gold image:
heat jeos_create F16 x86_64 gold

Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-03 15:53:27 -07:00
Angus Salkeld
59b89dfbe2 Add an Outputs section to the template
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-03 15:39:41 +10:00
Angus Salkeld
c7d3e2179c run dos2unix on the templates
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-03 15:39:41 +10:00
Angus Salkeld
e354226876 Beginings of Volumes and VolumeAttachments
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-02 23:04:46 +10:00
Steven Dake
db5b63733e Make wordpress template leave mysql+http running, and start/enable them by default
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-01 19:15:21 -07:00
Steven Dake
f4fa8645fb Updated wordpress single instance template to have quotes in proper place
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-01 16:59:51 -07:00
Steven Dake
7dee96f56d use << intead of &lt;&lt; in Wordpress example
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-01 13:35:53 -07:00
Angus Salkeld
4cea0f1589 tweak the templates so the defaults are actually what we want.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-22 10:05:26 +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
3b9c41fb6c Initial commit (basics copied from glance)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 21:48:07 +11:00