Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 satır
710B

  1. {% set php = salt['grains.filter_by']({
  2. 'Debian': {
  3. 'php-pkg': 'php5',
  4. 'apc-pkg': 'php-apc',
  5. 'curl-pkg': 'php-curl',
  6. 'fpm-pkg': 'php5-fpm',
  7. 'gd-pkg': 'php5-gd',
  8. 'mcrypt-pkg': 'php5-mcrypt',
  9. 'mysql-pkg': 'php5-mysql',
  10. 'pear-pkg': ' php-pear',
  11. 'fpm-service': 'php5-fpm',
  12. },
  13. 'RedHat': {
  14. 'php-pkg': 'php5',
  15. 'apc-pkg': 'php-apc',
  16. 'curl-pkg': 'php-curl',
  17. 'fpm-pkg': 'php5-fpm',
  18. 'gd-pkg': 'php5-gd',
  19. 'mcrypt-pkg': 'php5-mcrypt',
  20. 'mysql-pkg': 'php5-mysql',
  21. 'pear-pkg': ' php-pear',
  22. 'fpm-service': 'php5-fpm',
  23. },
  24. }, merge=salt['pillar.get']('php:lookup')) %}