aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-02-13 19:11:24 +0000
committerGerrit Code Review <review@openstack.org>2014-02-13 19:11:24 +0000
commit4d352dabfbc337dd53ac07365c5e6c191f070d9b (patch)
tree56cf525ea7a2428b5910c49ee8676944c74e4ea0
parentf0e61d11fc949cb9ebc3d2b875fdb79335ed0d33 (diff)
parent70807d77ee33db3958534999d4e8651c6272a348 (diff)
Merge "Add a debian-mirror heat template"
-rw-r--r--debian-mirror.yaml31
1 files changed, 31 insertions, 0 deletions
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