summaryrefslogtreecommitdiffstats
path: root/debian-mirror.yaml
blob: f9e769970a698dd9ed911ff27b22916c8fb9fee9 (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:
  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