diff --git a/.travis.yml b/.travis.yml index b2b6e2e..631c374 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,3 +43,8 @@ matrix: dist: trusty bundler_args: script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/*_spec.rb + - rvm: default + env: BEAKER_set="ubuntu16-docker" + dist: trusty + bundler_args: + script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/*_spec.rb diff --git a/manifests/params.pp b/manifests/params.pp index 185873d..b140816 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -25,7 +25,7 @@ { case $::operatingsystemrelease { - /^14.*$/: + /^1[46].*$/: { $sysctlreload='sysctl -e --system' } diff --git a/metadata.json b/metadata.json index dcf3ce1..bec7048 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "eyp-sysctl", - "version": "0.2.16", + "version": "0.2.17", "author": "eyp", "summary": "configure and manage sysctl", "license": "Apache-2.0", @@ -31,7 +31,7 @@ }, { "operatingsystem": "Ubuntu", - "operatingsystemrelease": [ "14.04" ] + "operatingsystemrelease": [ "14.04", "16.04" ] } ] } diff --git a/spec/acceptance/nodesets/ubuntu16-docker.yml b/spec/acceptance/nodesets/ubuntu16-docker.yml new file mode 100644 index 0000000..96d0e77 --- /dev/null +++ b/spec/acceptance/nodesets/ubuntu16-docker.yml @@ -0,0 +1,15 @@ +HOSTS: + ubuntu-1604-x64: + default_apply_opts: + order: random + strict_variables: + platform: ubuntu-16.04-amd64 + hypervisor : docker + image: ubuntu:16.04 + docker_cmd: '["/sbin/init"]' + docker_preserve_image: true + docker_image_commands: + - 'apt-get install gcc make tar wget -y' +CONFIG: + type: foss + log_level: debug