templates-docker-fedora.sls 844 Bytes
Newer Older
Michał Woźniak's avatar
Michał Woźniak committed
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
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :

/etc/docker/daemon.json:
    file.managed:
        - source: salt://rysieks-qubes/files/docker/daemon.json
        - user: root
        - group: root
        - mode: 644
        - makedirs: True

/etc/pki/rpm-gpg/docker-ce-repo-key:
    file.managed:
        - source: salt://rysieks-qubes/files/docker/docker-ce-repo-key.asc
        - user: root
        - group: root
        - mode: 644

docker-ce-stable:
    pkgrepo.managed:
        - humanname: Docker CE Stable - Fedora
        - baseurl: https://download.docker.com/linux/fedora/$releasever/$basearch/stable
        - gpgcheck: 1
        - gpgkey: file:///etc/pki/rpm-gpg/docker-ce-repo-key
    
templates-docker-fedora.packages:
    pkg.installed:
        - refresh: True
        - pkgs:
            - docker-ce
            - docker-compose