Saltstack Official OpenSSH Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617181920
  1. # InSpec Profile: `share`
  2. This shows the implementation of the `share` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md).
  3. It's goal is to share the libraries between all profiles.
  4. ## Libraries
  5. ### `system`
  6. The `system` library provides easy access to system dependents informations:
  7. - `system.hostname`: return the result of `hostname -s` or `hostnamectl --static` based on the availability of each commans
  8. - `system.platform`: take `inspec.platform` and mangle things a bit to be useful
  9. - `system.platform[:family]` provides a family name for Arch
  10. - `system.platform[:name]` modify `amazon` to `amazonlinux`
  11. - `system.platform[:release]` tweak for Arch and Amazon Linux:
  12. - `Arch` is always `base-later`
  13. - `Amazon Linux` release `2018` became `1`
  14. - `system.platform[:finger]` is just the concatenation of the name and the first release number (except for Ubuntu which gives `20.04` for example)