Commit graph

12 commits

Author SHA1 Message Date
Imran Iqbal
d46507ba82
test(system.rb): add support for mac_os_x [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/442
2022-05-17 08:52:39 +01:00
Imran Iqbal
65cf22c436
test(system): add build_platform_codename [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/415
2022-02-14 08:09:40 +00:00
Imran Iqbal
bf1e46e69b
chore(gemfile.lock): update to latest gem versions (2021-W51) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/394
2021-12-22 11:59:36 +00:00
Imran Iqbal
9ef82f4f78
chore(gemfile.lock): update to latest gem versions (2021-W29) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/349
2021-07-21 18:35:02 +01:00
Imran Iqbal
be3ee0be51
ci(3003.1): update inc. AlmaLinux, Rocky & rst-lint [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/335
2021-07-02 00:09:05 +01:00
Imran Iqbal
bbe1c78409
test: standardise use of share suite & _mapdata state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
2021-03-23 21:34:24 +00:00
Imran Iqbal
dab2f34c58
test(share): standardise with latest changes [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/288
2021-02-01 07:24:21 +00:00
Imran Iqbal
4c8cf32db1
test(map): standardise map.jinja verification
* Automated using https://github.com/myii/ssf-formula/pull/281
2020-12-22 00:43:16 +00:00
Daniel Dehennin
1ff9ab15f2 test(inspec): system.rb must call parent class initialisation 2020-10-28 11:37:24 +01:00
Imran Iqbal
4c2f4ede02
feat: add Gentoo support
Make use of the new pre-salted images:

* https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/merge_requests/55
2020-10-12 07:33:44 +01:00
Imran Iqbal
194aa97dff
test(share): remove unnecessary hostname mangling
* https://github.com/saltstack-formulas/openssh-formula/pull/195
2020-09-21 12:17:12 +01:00
Daniel Dehennin
64c2b6cdae test(inspec): share library to access some minion informations
The `system.hostname` return the result of either `hostname -s` or
`hostnamectl --static` depending of the availability of either command.

The `system.platform` return a hash with tweaked `inspec.platform`
values:

- `system.platform[:family]` provide a family name for Arch
- `system.platform[:name]` modify `amazon` to `amazonlinux`
- `system.platform[:release]` tweak Arch and Amazon Linux:
  - `Arch` is always `base-latest`
  - `Amazon Linux` release `2018` is resolved as `1`
- `system.platform[:finger]` is the concatenation of the name and the
  major release number (except for Ubuntu, which gives `ubuntu-20.04`
  for example)
2020-09-03 16:19:15 +02:00