mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-23 14:34:34 +02:00
test(inspec): no more need to mangle mapdata for hostname
We force the hostname in `kitchen` so the `_mapdata` files can be static.
This commit is contained in:
1 parent
208f87380c
commit
8cb31c6967
17 files changed
+15
-51
No files matched your search
@@ -10,7 +10,6 @@ It's goal is to share the libraries between all profiles.
|
||||
|
||||
The `system` library provides easy access to system dependents informations:
|
||||
|
||||
- `system.hostname`: return the result of `hostname -s` or `hostnamectl --static` based on the availability of each commans
|
||||
- `system.platform`: take `inspec.platform` and mangle things a bit to be useful
|
||||
- `system.platform[:family]` provides a family name for Arch
|
||||
- `system.platform[:name]` modify `amazon` to `amazonlinux`
|
||||
|
||||
Reference in new issue
Block a user