mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-12-01 04:41:43 +01:00
8cb31c6967
We force the hostname in `kitchen` so the `_mapdata` files can be static. |
||
---|---|---|
.. | ||
libraries | ||
inspec.yml | ||
README.md |
InSpec Profile: share
This shows the implementation of the share
InSpec profile.
It's goal is to share the libraries between all profiles.
Libraries
system
The system
library provides easy access to system dependents informations:
system.platform
: takeinspec.platform
and mangle things a bit to be usefulsystem.platform[:family]
provides a family name for Archsystem.platform[:name]
modifyamazon
toamazonlinux
system.platform[:release]
tweak for Arch and Amazon Linux:Arch
is alwaysbase-later
Amazon Linux
release2018
became1
system.platform[:finger]
is just the concatenation of the name and the first release number (except for Ubuntu which gives20.04
for example)