Commit a16ac2d9 authored by Tim Smith's avatar Tim Smith
Browse files

Use dokken images in dokken config


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 0e963671
driver: driver:
name: dokken name: dokken
privileged: true # because Docker and SystemD/Upstart privileged: true # because Docker and SystemD/Upstart
chef_version: current chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
transport: transport:
name: dokken name: dokken
...@@ -14,107 +14,62 @@ verifier: ...@@ -14,107 +14,62 @@ verifier:
name: inspec name: inspec
platforms: platforms:
- name: amazonlinux
driver:
image: dokken/amazonlinux
pid_one_command: /sbin/init
- name: debian-7 - name: debian-7
driver: driver:
image: debian:7 image: dokken/debian-7
pid_one_command: /sbin/init pid_one_command: /sbin/init
intermediate_instructions: intermediate_instructions:
- RUN /usr/bin/apt-get update - RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install apt-transport-https lsb-release procps net-tools -y
- name: debian-8 - name: debian-8
driver: driver:
image: debian:8 image: dokken/debian-8
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: debian-9
driver:
image: dokken/debian-9
pid_one_command: /bin/systemd pid_one_command: /bin/systemd
intermediate_instructions: intermediate_instructions:
- RUN /usr/bin/apt-get update - RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install apt-transport-https lsb-release procps net-tools -y
- name: centos-6 - name: centos-6
driver: driver:
image: centos:6 image: dokken/centos-6
platform: rhel
pid_one_command: /sbin/init pid_one_command: /sbin/init
intermediate_instructions:
- RUN yum -y install lsof which initscripts net-tools wget net-tools
- name: centos-7 - name: centos-7
driver: driver:
image: centos:7 image: dokken/centos-7
platform: rhel
pid_one_command: /usr/lib/systemd/systemd pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN yum -y install lsof which systemd-sysv initscripts wget net-tools
- name: fedora-latest - name: fedora-latest
driver: driver:
image: fedora:latest image: dokken/fedora-latest
pid_one_command: /usr/lib/systemd/systemd pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN dnf -y install which systemd-sysv initscripts wget net-tools
- name: ubuntu-14.04 - name: ubuntu-14.04
driver: driver:
image: ubuntu-upstart:14.04 image: dokken/ubuntu-14.04
pid_one_command: /sbin/init pid_one_command: /sbin/init
intermediate_instructions: intermediate_instructions:
- RUN /usr/bin/apt-get update - RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install apt-transport-https lsb-release procps net-tools -y
- name: ubuntu-16.04 - name: ubuntu-16.04
driver: driver:
image: ubuntu:16.04 image: dokken/ubuntu-16.04
pid_one_command: /bin/systemd pid_one_command: /bin/systemd
intermediate_instructions: intermediate_instructions:
- RUN /usr/bin/apt-get update - RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install apt-transport-https lsb-release procps net-tools -y
- name: opensuse-leap - name: opensuse-leap
driver: driver:
image: opensuse:leap image: dokken/opensuse-leap
pid_one_command: /bin/systemd pid_one_command: /bin/systemd
intermediate_instructions:
- RUN zypper --non-interactive install aaa_base perl-Getopt-Long-Descriptive which net-tools
suites:
- name: default
run_list:
- recipe[rsyslog::default]
- name: relp
run_list:
- recipe[rsyslog::client]
attributes:
rsyslog:
use_relp: true
custom_remote:
- server: 10.0.0.45
logs: auth.*,mail.*
port: 555
protocol: udp
- server: 10.1.1.33
logs: authpriv.*,cron.*,daemon.*
port: 654
protocol: tcp
remote_template: RSYSLOG_SyslogProtocol23Format
- name: client
run_list:
- recipe[rsyslog_test::client]
attributes:
rsyslog:
server_ip: 10.0.0.50
custom_remote:
- server: 10.0.0.45
logs: auth.*,mail.*
port: 555
protocol: udp
- server: 10.1.1.33
logs: authpriv.*,cron.*,daemon.*
port: 654
protocol: tcp
remote_template: RSYSLOG_SyslogProtocol23Format
- name: server
run_list:
- recipe[rsyslog_test::server]
- name: input_file_provider
run_list:
- recipe[rsyslog_test::input_file_provider]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment