@@ -11,48 +11,105 @@ driver:
11
11
# Make sure the platforms listed below match up with
12
12
# the `env.matrix` instances defined in `.travis.yml`
13
13
platforms :
14
- - name : debian-9
15
- driver_config :
16
- image : debian:9
14
+ # # SALT `develop`
15
+ - name : debian-9-develop-py3
16
+ driver :
17
+ image : netmanagers/salt-develop-py3:debian-9
17
18
provision_command :
18
- - apt-get update && apt-get install -y udev locales
19
- - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
20
- - locale-gen en_US.UTF-8
21
- platform : debian
22
-
23
- - name : debian-8
24
- driver_config :
25
- image : debian:8
19
+ - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
20
+ - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
21
+ - name : ubuntu-1804-develop-py3
22
+ driver :
23
+ image : netmanagers/salt-develop-py3:ubuntu-18.04
26
24
provision_command :
27
- - apt-get update && apt-get install -y udev locales
28
- - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
29
- - locale-gen en_US.UTF-8
30
- platform : debian
31
-
32
- - name : ubuntu-18.04
33
- driver_config :
34
- image : ubuntu:18.04
25
+ - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
26
+ - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
27
+ - name : centos-7-develop-py3
28
+ driver :
29
+ image : netmanagers/salt-develop-py3:centos-7
35
30
provision_command :
36
- - apt-get update && apt-get install -y udev locales && rm -rf /var/lib/apt/lists/*
37
- - localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
38
- - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
39
- - locale-gen en_US.UTF-8
40
- platform : ubuntu
41
-
42
- - name : ubuntu-16.04
43
- driver_config :
44
- image : ubuntu:16.04
31
+ - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
32
+ - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
33
+ - name : fedora-29-develop-py3
34
+ driver :
35
+ image : netmanagers/salt-develop-py3:fedora-29
36
+ provision_command :
37
+ - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
38
+ - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
39
+ - name : opensuse-leap-15-develop-py3
40
+ driver :
41
+ image : netmanagers/salt-develop-py3:opensuse-leap-15
45
42
provision_command :
46
- - apt-get update && apt-get install -y udev locales && rm -rf /var/lib/apt/lists/*
47
- - localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
48
- - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
49
- - locale-gen en_US.UTF-8
50
- platform : ubuntu
43
+ - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
44
+ - sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
45
+ run_command : /usr/lib/systemd/systemd
46
+
47
+ # # SALT 2019.2
48
+ - name : debian-9-2019-2-py3
49
+ driver :
50
+ image : netmanagers/salt-2019.2-py3:debian-9
51
+ - name : ubuntu-1804-2019-2-py3
52
+ driver :
53
+ image : netmanagers/salt-2019.2-py3:ubuntu-18.04
54
+ - name : centos-7-2019-2-py3
55
+ driver :
56
+ image : netmanagers/salt-2019.2-py3:centos-7
57
+ - name : fedora-29-2019-2-py3
58
+ driver :
59
+ image : netmanagers/salt-2019.2-py3:fedora-29
60
+ - name : opensuse-leap-15-2019-2-py3
61
+ driver :
62
+ image : netmanagers/salt-2019.2-py3:opensuse-leap-15
63
+ run_command : /usr/lib/systemd/systemd
64
+
65
+ # # SALT 2018.3
66
+ - name : debian-9-2018-3-py2
67
+ driver :
68
+ image : netmanagers/salt-2018.3-py2:debian-9
69
+ - name : ubuntu-1604-2018-3-py2
70
+ driver :
71
+ image : netmanagers/salt-2018.3-py2:ubuntu-16.04
72
+ - name : centos-7-2018-3-py2
73
+ driver :
74
+ image : netmanagers/salt-2018.3-py2:centos-7
75
+ - name : fedora-29-2018-3-py2
76
+ driver :
77
+ image : netmanagers/salt-2018.3-py2:fedora-29
78
+ # TODO: Use this when fixed instead of `opensuse-leap-42`
79
+ # Ref: https://github.com/netmanagers/salt-image-builder/issues/2
80
+ # - name: opensuse-leap-15-2018-3-py2
81
+ # driver:
82
+ # image: netmanagers/salt-2018.3-py2:opensuse-leap-15
83
+ # run_command: /usr/lib/systemd/systemd
84
+ - name : opensuse-leap-42-2018-3-py2
85
+ driver :
86
+ image : netmanagers/salt-2018.3-py2:opensuse-leap-42
87
+ run_command : /usr/lib/systemd/systemd
88
+
89
+ # # SALT 2017.7
90
+ - name : debian-8-2017-7-py2
91
+ driver :
92
+ image : netmanagers/salt-2017.7-py2:debian-8
93
+ - name : ubuntu-1604-2017-7-py2
94
+ driver :
95
+ image : netmanagers/salt-2017.7-py2:ubuntu-16.04
96
+ # TODO: Modify the formula to work for non-`systemd` platforms
97
+ - name : centos-6-2017-7-py2
98
+ driver :
99
+ image : netmanagers/salt-2017.7-py2:centos-6
100
+ run_command : /sbin/init
101
+ - name : fedora-28-2017-7-py2
102
+ driver :
103
+ image : netmanagers/salt-2017.7-py2:fedora-28
104
+ - name : opensuse-leap-42-2017-7-py2
105
+ driver :
106
+ image : netmanagers/salt-2017.7-py2:opensuse-leap-42
107
+ run_command : /usr/lib/systemd/systemd
51
108
52
109
provisioner :
53
110
name : salt_solo
54
111
log_level : info
55
- salt_version : latest
112
+ salt_install : none
56
113
require_chef : false
57
114
formula : syslog_ng
58
115
salt_copy_filter :
@@ -62,6 +119,13 @@ provisioner:
62
119
base :
63
120
' * ' :
64
121
- syslog_ng.config
122
+ pillars :
123
+ top.sls :
124
+ base :
125
+ ' * ' :
126
+ - syslog_ng
127
+ pillars_from_files :
128
+ syslog_ng.sls : pillar.example
65
129
66
130
verifier :
67
131
# https://www.inspec.io/
0 commit comments