Saltstack Official OpenSSH Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Daniel Dehennin 0eafbd945c test(inspec): verify `map.jinja` dump 4 роки тому
..
libraries test(inspec): share library to access some minion informations 4 роки тому
README.md test(inspec): share library to access some minion informations 4 роки тому
inspec.yml test(inspec): verify `map.jinja` dump 4 роки тому

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.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
    • system.platform[:release] tweak for Arch and Amazon Linux:
    • Arch is always base-later
    • Amazon Linux release 2018 became 1
    • system.platform[:finger] is just the concatenation of the name and the first release number (except for Ubuntu which gives 20.04 for example)