Преглед на файлове

test(sodium): add pillar and tests for `3001`

tags/v1.4.4
Imran Iqbal преди 4 години
родител
ревизия
42cacc253f
No account linked to committer's email address
променени са 3 файла, в които са добавени 39 реда и са изтрити 0 реда
  1. +17
    -0
      test/integration/v3001-py3/controls/pkgs_spec.rb
  2. +16
    -0
      test/integration/v3001-py3/controls/service_spec.rb
  3. +6
    -0
      test/salt/pillar/v3001-py3.sls

+ 17
- 0
test/integration/v3001-py3/controls/pkgs_spec.rb Целия файл

@@ -0,0 +1,17 @@
# frozen_string_literal: true

control 'salt packages' do
title 'should be installed'

version = '3001'

%w[
salt-master
salt-minion
].each do |p|
describe package(p) do
it { should be_installed }
its('version') { should match(/^#{version}/) }
end
end
end

+ 16
- 0
test/integration/v3001-py3/controls/service_spec.rb Целия файл

@@ -0,0 +1,16 @@
# frozen_string_literal: true

control 'salt services' do
title 'should be running'

%w[
salt-master
salt-minion
].each do |p|
describe service(p) do
it { should be_installed }
it { should be_enabled }
it { should be_running }
end
end
end

+ 6
- 0
test/salt/pillar/v3001-py3.sls Целия файл

@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
salt:
release: '3001'
py_ver: 'py3'

Loading…
Отказ
Запис