Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length
title: 'ci(kitchen+travis): use bootstrapped `amazonlinux-1` images'
body: '* Automated using https://github.com/myii/ssf-formula/pull/94'
title: 'feat(kitchen): implement Windows testing using `kitchen-vagrant`'
body: '* Checked using https://github.com/myii/ssf-formula/pull/81'
# yamllint enable rule:line-length
github:
owner: 'saltstack-formulas'
Expand Down
2 changes: 1 addition & 1 deletion ssf/files/default/inspec/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ depends:
{%- endif %}
supports:
{%- for platform in suite.inspec_yml.supports %}
- platform-name: {{ platform }}
- {{ 'platform-name' if platform != 'windows' else 'platform' }}: {{ platform }}
{%- endfor %}
13 changes: 13 additions & 0 deletions ssf/files/tofs_openvpn-formula/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gem 'inspec'
gem 'kitchen-docker', '>= 2.9'
gem 'kitchen-inspec', '>= 1.1'
gem 'kitchen-salt', '>= 0.6.0'
gem 'rspec-retry'

group :vagrant do
gem 'kitchen-vagrant'
end
20 changes: 19 additions & 1 deletion ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,17 @@ ssf:
inspec_yml:
summary: >-
Verify that the openvpn formula is setup and configured correctly
supports:
- debian
- ubuntu
- centos
- fedora
- opensuse
- suse
- freebsd
- amazon
- arch
- windows
provisioner:
pillars_from_files:
- .sls: 'test/salt/pillar/default.sls'
Expand All @@ -1195,7 +1206,14 @@ ssf:
- [centos , 7 , 2018.3, 2, default]
- [opensuse/leap, 15.1 , 2018.3, 2, default]
- [centos , 6 , 2017.7, 2, default]
travis: *travis_do_not_use_single_job_for_linters
rubocop:
Cops:
Metrics/BlockLength:
Max: 36
yamllint:
ignore:
additional:
- test/salt/pillar/default.sls
semrel_files: *semrel_files_default
php:
context:
Expand Down