From bf4c91815e210ba175f610713fa43cba3aa7d347 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 15 Feb 2020 12:33:21 +0000 Subject: [PATCH 1/1] Add test for osmosis cookbook --- .kitchen.yml | 3 +++ .travis.yml | 3 +++ test/integration/osmosis/serverspec/osmosis_spec.rb | 8 ++++++++ 3 files changed, 14 insertions(+) create mode 100644 test/integration/osmosis/serverspec/osmosis_spec.rb diff --git a/.kitchen.yml b/.kitchen.yml index d77de74ad..792b4198b 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -134,6 +134,9 @@ suites: - name: openssh run_list: - recipe[openssh::default] + - name: osmosis + run_list: + - recipe[osmosis::default] - name: otrs run_list: - recipe[accounts::default] diff --git a/.travis.yml b/.travis.yml index 68dac833f..26f95c00e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,6 +80,9 @@ jobs: - name: "Test Kitchen (openssh)" script: - bundle exec kitchen test openssh-ubuntu-1804 + - name: "Test Kitchen (osmosis)" + script: + - bundle exec kitchen test osmosis-ubuntu-1804 - name: "Test Kitchen (otrs)" script: - bundle exec kitchen test otrs-ubuntu-1804 diff --git a/test/integration/osmosis/serverspec/osmosis_spec.rb b/test/integration/osmosis/serverspec/osmosis_spec.rb new file mode 100644 index 000000000..93aecf0ac --- /dev/null +++ b/test/integration/osmosis/serverspec/osmosis_spec.rb @@ -0,0 +1,8 @@ +require "serverspec" + +# Required by serverspec +set :backend, :exec + +describe file("/usr/local/bin/osmosis") do + it { should be_symlink } +end -- 2.43.2