Imran Iqbal
e76525f130
feat(yamllint): include for this repo and apply rules throughout
...
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
template-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./test/integration/default/inspec.yml
1:1 warning missing document start "---" (document-start)
./template/osfamilymap.yaml
1:89 error line too long (116 > 88 characters) (line-length)
1:24 error trailing spaces (trailing-spaces)
13:2 error syntax error: found character '%' that cannot start any token
pillar.example
14:4 error syntax error: found character '%' that cannot start any token
```
2019-08-07 18:27:31 +01:00
Imran Iqbal
70cc92d8cf
refactor(tofs): move subcomponent templates to first source
match
...
* `subcomponent/config/files` is higher precedence than `subcomponent/files`:
```
- source:
- salt://template/subcomponent/config/files/ABC/subcomponent-example.tmpl
- salt://template/subcomponent/config/files/Debian/subcomponent-example.tmpl
- salt://template/subcomponent/config/files/default/subcomponent-example.tmpl
- salt://template/subcomponent/files/ABC/subcomponent-example.tmpl
- salt://template/subcomponent/files/Debian/subcomponent-example.tmpl
- salt://template/subcomponent/files/default/subcomponent-example.tmpl
- salt://template/files/ABC/subcomponent-example.tmpl
- salt://template/files/Debian/subcomponent-example.tmpl
- salt://template/files/default/subcomponent-example.tmpl
```
2019-08-06 11:53:20 +01:00
Daniel Dehennin
fd55e03692
test(inspec): verify subcomponent configuration file
...
* test/integration/default/controls/subcomponent_config_spec.rb: the
subcomponent file must come from the “/subcomponent/files/” directory
* test/integration/default/controls/config_spec.rb: update to match
the new subcomponent override.
2019-07-30 16:06:53 +02:00
Imran Iqbal
4a71611c0d
chore: use semantic-release
cross-formula standard structure
...
* Automated using `ssf-formula` (v0.1.0-rc.3)
2019-07-30 08:49:56 +01:00
N
1be20524cf
test(osarch): add unit test for osarch
2019-07-24 23:12:17 +01:00
Daniel Dehennin
13f1728c27
test(libtofs): “tofs.files_switch” lookup can return a list
...
We need to verify that “libtofs” works when the “tofs.files_switch”
lookup return a list instead of a single element.
* kitchen.yml (provisioner): copy tests specific pillars into the test
environment.
* pillar.example (template.tofs.files_switch): lookup for “roles” at
the end.
* test/salt/pillar/test.sls (roles): list of roles to apply during
tests.
* test/integration/default/controls/config_spec.rb: add “roles” to the
list of “tofs.files_switch” items to verify.
2019-07-24 12:13:53 +02:00
Imran Iqbal
7410c62216
Merge pull request #140 from noelmcloughlin/lowercaseT
...
refactor(string): remove capitalisation from 'template' string
2019-06-28 15:05:21 +01:00
N
706221099d
refactor(string): remove capitalisation from 'template' string
2019-06-28 10:47:57 +01:00
N
3fa7bcee1b
test(inspec): readme for default profile & os-name depreciated
2019-06-15 23:40:33 +01:00
N
c6ae81cc65
refactor(pkgname): reserve 'pkg' as packaging dict
...
BREAKING CHANGE: the parameter `pkg` is now a dictionary. References
to `template.pkg` should be changed to `template.pkg.name`.
2019-06-12 11:48:20 +01:00
Imran Iqbal
00d4a77f17
test(services_spec
): remove temporary suse
conditional
...
* `train` gem has been fixed upstream
- https://github.com/inspec/train/pull/451
- https://rubygems.org/gems/train/versions/2.1.7
2019-05-25 14:59:02 +01:00
Alexander Weidinger
91bc2f046b
fix(map.jinja
): _merge_ defaults and config.get
...
test resulting config
2019-05-15 21:27:06 +02:00
Imran Iqbal
a4b1608ab4
feat(centos-6): reshape formula and tests for this platform
...
* Close #104
2019-05-12 16:22:41 +01:00
Imran Iqbal
848c2ad2c7
test(inspec): disable service
-based tests for opensuse-leap-15
2019-05-02 16:21:09 +01:00
Imran Iqbal
91ef13b1e1
ci(kitchen+travis): use latest pre-salted images
...
* Add `suse` to `inspec.yml` for `opensuse-leap-15`
2019-05-02 16:21:08 +01:00
Imran Iqbal
42f93b3823
test(inspec): update supports
for all platforms added
2019-02-22 03:48:51 +00:00
Javier Bértoli
21971a0980
Remove release parameter from inspec.yaml, to allow travis runs on the available images
2019-02-17 21:20:43 -03:00
Javier Bértoli
6ad99caa00
Removed inspec
licensing information
2019-02-17 21:12:00 -03:00
Javier Bértoli
e33e68b85d
Add a testing scaffold with kitchen-ci
, inspec
and travis
support
2019-02-17 20:59:13 -03:00