浏览代码

chore: standardise structure (`.gitignore` & `_mapdata.rb`) [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/292
tags/v1.2.1
Imran Iqbal 3 年前
父节点
当前提交
08ab3568f0
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 14 次插入3 次删除
  1. +11
    -0
      .gitignore
  2. +1
    -1
      CODEOWNERS
  3. +2
    -2
      test/integration/default/controls/_mapdata.rb

+ 11
- 0
.gitignore 查看文件

@@ -91,6 +91,9 @@ celerybeat-schedule
venv/
ENV/

# visual studio
.vs/

# Spyder project settings
.spyderproject
.spyproject
@@ -120,3 +123,11 @@ docs/*.md
Dockerfile.*_*
ignore/
tmp/

# `salt-formula` -- Vagrant Specific files
.vagrant
top.sls

# `suricata-formula` -- Platform binaries
*.rpm
*.deb

+ 1
- 1
CODEOWNERS 查看文件

@@ -22,7 +22,7 @@
/*/_mapdata/ @saltstack-formulas/ssf
/*/libsaltcli.jinja @saltstack-formulas/ssf
/*/libtofs.jinja @saltstack-formulas/ssf
/test/integration/**/_mapdata_spec.rb @saltstack-formulas/ssf
/test/integration/**/_mapdata.rb @saltstack-formulas/ssf
/test/integration/**/libraries/system.rb @saltstack-formulas/ssf
/test/integration/**/inspec.yml @saltstack-formulas/ssf
/test/integration/**/README.md @saltstack-formulas/ssf

test/integration/default/controls/_mapdata_spec.rb → test/integration/default/controls/_mapdata.rb 查看文件

@@ -2,8 +2,8 @@

require 'yaml'

control '`map.jinja` YAML dump' do
title 'should match the comparison file'
control 'firewalld._mapdata' do
title '`map.jinja` should match the reference file'

### Method
# The steps below for each file appear convoluted but they are both required

正在加载...
取消
保存