Skip to content

Commit 15241d3

Browse files
committed
test(share): standardise structure
* Standardised using myii/ssf-formula#251
1 parent 8cb31c6 commit 15241d3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

test/integration/share/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ It's goal is to share the libraries between all profiles.
88

99
### `system`
1010

11-
The `system` library provides easy access to system dependents informations:
11+
The `system` library provides easy access to system dependent information:
1212

13-
- `system.platform`: take `inspec.platform` and mangle things a bit to be useful
14-
- `system.platform[:family]` provides a family name for Arch
13+
- `system.platform`: based on `inspec.platform`, modify to values that are more consistent from a SaltStack perspective
14+
- `system.platform[:family]` provide a family name for Arch
1515
- `system.platform[:name]` modify `amazon` to `amazonlinux`
16-
- `system.platform[:release]` tweak for Arch and Amazon Linux:
17-
- `Arch` is always `base-later`
18-
- `Amazon Linux` release `2018` became `1`
19-
- `system.platform[:finger]` is just the concatenation of the name and the first release number (except for Ubuntu which gives `20.04` for example)
16+
- `system.platform[:release]` tweak Arch and Amazon Linux:
17+
- `Arch` is always `base-latest`
18+
- `Amazon Linux` release `2018` is resolved as `1`
19+
- `system.platform[:finger]` is the concatenation of the name and the major release number (except for Ubuntu, which gives `ubuntu-20.04` for example)

test/integration/share/inspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: ft=yaml
33
---
4-
name: shared
4+
name: share
55
title: InSpec shared resources
66
maintainer: SaltStack Formulas
77
license: Apache-2.0

0 commit comments

Comments
 (0)