Saltstack Official PHP Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

42 lines
2.9KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=sls
  3. {#- Evaluating as `False` by default, using this method since `defaults.yaml` not available in this repo #}
  4. {%- if not salt['config.get']('php').get('warning_messages', {}).get('v1.0.0', {}).get('mute_critical', False) %}
  5. php-deprecated-in-v1.0.0-test-succeed:
  6. test.succeed_without_changes:
  7. - name: |
  8. ################################################################################
  9. # #
  10. # WARNING: BREAKING CHANGES IN UPCOMING VERSION `v1.0.0` #
  11. # #
  12. ################################################################################
  13. # #
  14. # This formula currently provides two methods for managing PHP; the old method #
  15. # under `php` and the new method under `php.ng`. In upcoming `v1.0.0`, the old #
  16. # method will be removed and `php.ng` will be promoted to `php` in its place. #
  17. # #
  18. # If you are not in a position to migrate, you will need to pin your repo to #
  19. # the final release tag before `v1.0.0`, which is expected to be `v0.37.1`. #
  20. # #
  21. # If you are currently using `php.ng`, there is nothing to do until `v1.0.0` #
  22. # is released. #
  23. # #
  24. # To migrate from the old `php`, the first step is to convert to `php.ng`, #
  25. # before `v1.0.0` is released. #
  26. # #
  27. # To prevent this message being displayed again, set the pillar/config value: #
  28. # #
  29. # ``` #
  30. # php: #
  31. # warning_messages: #
  32. # v1.0.0: #
  33. # mute_critical: True #
  34. # ``` #
  35. # #
  36. ################################################################################
  37. # - failhard: True
  38. {%- endif %}