Saltstack Official PHP Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

deprecated.sls 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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_upcoming', 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.39.2`. #
  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_upcoming: True #
  34. # ``` #
  35. # #
  36. ################################################################################
  37. {%- endif %}