Saltstack Official Salt Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

README.md 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # InSpec Profile: `v3000-py3`
  2. This shows the implementation of the `v3000-py3` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md).
  3. ## Verify a profile
  4. InSpec ships with built-in features to verify a profile structure.
  5. ```bash
  6. $ inspec check v3000-py3
  7. Summary
  8. -------
  9. Location: v3000-py3
  10. Profile: profile
  11. Controls: 4
  12. Timestamp: 2019-06-24T23:09:01+00:00
  13. Valid: true
  14. Errors
  15. ------
  16. Warnings
  17. --------
  18. ```
  19. ## Execute a profile
  20. To run all **supported** controls on a local machine use `inspec exec /path/to/profile`.
  21. ```bash
  22. $ inspec exec v3000-py3
  23. ..
  24. Finished in 0.0025 seconds (files took 0.12449 seconds to load)
  25. 8 examples, 0 failures
  26. ```
  27. ## Execute a specific control from a profile
  28. To run one control from the profile use `inspec exec /path/to/profile --controls name`.
  29. ```bash
  30. $ inspec exec v3000-py3 --controls package
  31. .
  32. Finished in 0.0025 seconds (files took 0.12449 seconds to load)
  33. 1 examples, 0 failures
  34. ```
  35. See an [example control here](https://github.com/inspec/inspec/blob/master/examples/profile/controls/example.rb).