forked from Sous-Chefs-Boneyard/sysctl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing updates + Oracle / Amazon / openSUSE support (Sous-Chefs-Bone…
…yard#91) * Enable all foodcritic rules * Use dokken images in kitchen dokken config * Update platforms in the kitchen config * Test with the latest ChefDK and relative paths * Update the Fedora name in Travis * Remove support for Fedora < 18 * Add Oracle Support * Remove support for Ubuntu <= 9.10 * Add support for Amazon Linux on Chef 13 * Fix resource deprecation warnings * Use more modern fauxhai platforms * Remove Ubuntu 14.10 support * Add Amazon Linux to the readme * Remove the autoeject test and test amazon in Travis * Support and test the latest opensuse release Signed-off-by: Tim Smith <[email protected]>
- Loading branch information
Showing
16 changed files
with
81 additions
and
107 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,75 @@ | ||
driver: | ||
name: dokken | ||
privileged: true # because Docker and SystemD/Upstart | ||
chef_version: current | ||
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %> | ||
|
||
transport: | ||
name: dokken | ||
|
||
provisioner: | ||
name: dokken | ||
deprecations_as_errors: true | ||
|
||
verifier: | ||
name: inspec | ||
|
||
platforms: | ||
- name: amazonlinux | ||
driver: | ||
image: dokken/amazonlinux | ||
pid_one_command: /sbin/init | ||
|
||
- name: debian-7 | ||
driver: | ||
image: debian:7 | ||
image: dokken/debian-7 | ||
pid_one_command: /sbin/init | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update | ||
- RUN /usr/bin/apt-get install apt-transport-https lsb-release procps net-tools -y | ||
|
||
- name: debian-8 | ||
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 | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update | ||
- RUN /usr/bin/apt-get install apt-transport-https lsb-release procps net-tools -y | ||
|
||
- name: centos-6 | ||
driver: | ||
image: centos:6 | ||
platform: rhel | ||
image: dokken/centos-6 | ||
pid_one_command: /sbin/init | ||
intermediate_instructions: | ||
- RUN yum -y install lsof which initscripts net-tools wget net-tools | ||
|
||
- name: centos-7 | ||
driver: | ||
image: centos:7 | ||
platform: rhel | ||
image: dokken/centos-7 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
intermediate_instructions: | ||
- RUN yum -y install lsof which systemd-sysv initscripts wget net-tools | ||
|
||
- name: fedora-25 | ||
- name: fedora-latest | ||
driver: | ||
image: fedora:latest | ||
image: dokken/fedora-latest | ||
pid_one_command: /usr/lib/systemd/systemd | ||
intermediate_instructions: | ||
- RUN dnf -y install yum which systemd-sysv initscripts wget net-tools | ||
|
||
- name: ubuntu-14.04 | ||
driver: | ||
image: ubuntu-upstart:14.04 | ||
image: dokken/ubuntu-14.04 | ||
pid_one_command: /sbin/init | ||
intermediate_instructions: | ||
- 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 | ||
driver: | ||
image: ubuntu:16.04 | ||
image: dokken/ubuntu-16.04 | ||
pid_one_command: /bin/systemd | ||
intermediate_instructions: | ||
- RUN /usr/bin/apt-get update | ||
- RUN /usr/bin/apt-get install apt-transport-https lsb-release procps net-tools -y | ||
|
||
- name: opensuse-leap | ||
driver: | ||
image: opensuse:leap | ||
pid_one_command: /bin/systemd | ||
intermediate_instructions: | ||
- RUN zypper --non-interactive install aaa_base perl-Getopt-Long-Descriptive which net-tools | ||
image: dokken/opensuse-leap | ||
pid_one_command: /bin/systemd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
default['sysctl']['params']['vm']['swappiness'] = 19 | ||
default['sysctl']['params']['dev']['cdrom']['autoeject'] = '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,3 @@ | |
sysctl_param 'vm.swappiness' do | ||
value 19 | ||
end | ||
|
||
sysctl_param 'dev.cdrom.autoeject' do | ||
value '1' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters