From 70807d77ee33db3958534999d4e8651c6272a348 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 23 Jan 2014 13:01:02 +1100 Subject: [PATCH] Add a debian-mirror heat template Populate defaults for the debian-mirror image-element using a heat template. Change-Id: I28de1d04be7292dad1bc448ff8bbde634cebd6f3 --- debian-mirror.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 debian-mirror.yaml diff --git a/debian-mirror.yaml b/debian-mirror.yaml new file mode 100644 index 00000000..f9e76997 --- /dev/null +++ b/debian-mirror.yaml @@ -0,0 +1,31 @@ +Description: 'Debian-mirror: A Debian or Ubuntu mirror in the cloud' +Parameters: + DebianMirrorMirror: + Default: http://archive.ubuntu.com/ubuntu + Description: The mirror that is to be used as the source + Type: String + DebianMirrorSuites: + Default: ["saucy", "saucy-updates", "saucy-security"] + Description: The suites to be mirrored + Type: JSON + DebianMirrorArchitectures: + Default: [{"arch": "amd64"}] + Description: The architectures to be mirrored + Type: JSON + DebianMirrorComponents: + Default: ["main", "restricted", "universe", "multiverse"] + Description: The components to be mirrored + Type: JSON +Resources: + debianMirrorConfig: + Type: AWS::AutoScaling::LaunchConfiguration + Metadata: + debian-mirror: + mirror: + Ref: DebianMirrorMirror + suites: + Ref: DebianMirrorSuites + architectures: + Ref: DebianMirrorArchitectures + components: + Ref: DebianMirrorComponents -- 2.16.6