aboutsummaryrefslogtreecommitdiffstats
path: root/debian-mirror.yaml
blob: ddfff6a6b5592c670f6d78d0b8e8078165ed8682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
description: 'Debian-mirror: A Debian or Ubuntu mirror in the cloud'
parameters:
  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
  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
resources:
  debianMirrorConfig:
    type: AWS::AutoScaling::LaunchConfiguration
    metadata:
      debian-mirror:
        mirror:
          get_param: DebianMirrorMirror
        suites:
          get_param: DebianMirrorSuites
        architectures:
          get_param: DebianMirrorArchitectures
        components:
          get_param: DebianMirrorComponents