summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/apt_configure_sources_ppa.yaml
blob: b997bcfb4366f6c12661de6118d7eda3128b24ef (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
#
# Add a PPA to source.list
#
# NOTE: on older ubuntu releases the sources file added is named
#       'cloud-init-dev-test-archive-trusty', without 'ubuntu' in the middle
required_features:
  - apt
  - ppa
  - ppa_file_name
cloud_config: |
  #cloud-config
  apt:
    sources:
      source1:
        keyid: 0165013E
        keyserver: keyserver.ubuntu.com
        source: "ppa:cloud-init-dev/test-archive"
collect_scripts:
  sources.list: |
    #!/bin/bash
    cat /etc/apt/sources.list.d/cloud-init-dev-ubuntu-test-archive-*.list
  apt-key: |
    #!/bin/bash
    apt-key finger
  sources_full: |
    #!/bin/bash
    cat /etc/apt/sources.list

# vi: ts=4 expandtab