Browse Source

Merge pull request #34 from aboe76/opensuse_support

Added opensuse support
tags/v0.34.0
Forrest 9 years ago
parent
commit
3fe85ca0b4
3 changed files with 91 additions and 4 deletions
  1. +18
    -0
      README.rst
  2. +31
    -2
      php/map.jinja
  3. +42
    -2
      php/ng/map.jinja

+ 18
- 0
README.rst View File

----------- -----------


Installs the php-apc package. Installs the php-apc package.
Disabled by default on opensuse need server:php repo


``php.adodb`` ``php.adodb``
------------- -------------
----------- -----------


Installs the php-cgi package. Installs the php-cgi package.
Disabled on opensuse not available, only fastcgi


``php.cli`` ``php.cli``
----------- -----------
--------------- ---------------


Installs the php-imagick package. Installs the php-imagick package.
Disabled on opensuse not available.


``php.imap`` ``php.imap``
------------ ------------
---------------- ----------------


Installs the php-memcache package. Installs the php-memcache package.
Disabled on opensuse need server:php:extensions repo


``php.memcached`` ``php.memcached``
----------------- -----------------


Installs the php-memcached package. Installs the php-memcached package.
Disabled on opensuse need server:php:extensions repo


``php.mysql`` ``php.mysql``
------------- -------------
--------------- ---------------


Installs the php-mysqlnd package. Installs the php-mysqlnd package.
Disabled on opensuse no package.


``php.pear`` ``php.pear``
------------ ------------
------------ ------------


Installs the php-redis package. Installs the php-redis package.
Disabled on opensuse need server:php:extensions repo


``php.pgsql`` ``php.pgsql``
------------- -------------
------------- -------------


Installs the php-mongo package. Installs the php-mongo package.
Disabled on opensuse need server:php:extensions repo


``php.xml`` ``php.xml``
----------- -----------
-------------- --------------


Installs the php-apc package. Installs the php-apc package.
Disabled on opensuse need server:php repo


``php.ng.cgi`` ``php.ng.cgi``
-------------- --------------


Installs the php-cgi package. Installs the php-cgi package.
Disabled on opensuse only php5-fastcgi available.


``php.ng.cli`` ``php.ng.cli``
-------------- --------------
------------------ ------------------


Installs the php-imagick package. Installs the php-imagick package.
Disabled on opensuse no package.


``php.ng.imap`` ``php.ng.imap``
--------------- ---------------
------------------- -------------------


Installs the php-memcache package. Installs the php-memcache package.
Disabled on opensuse need server:php:extensions repo



``php.ng.memcached`` ``php.ng.memcached``
-------------------- --------------------


Installs the php-memcached package. Installs the php-memcached package.
Disabled on opensuse need server:php:extensions repo



``php.ng.mysql`` ``php.ng.mysql``
---------------- ----------------
------------------ ------------------


Installs the php-mysqlnd package. Installs the php-mysqlnd package.
Disabled on opensuse no package.


``php.ng.pear`` ``php.ng.pear``
--------------- ---------------
--------------- ---------------


Installs the php-redis package. Installs the php-redis package.
Disabled on opensuse need server:php:extensions repo



``php.ng.pgsql`` ``php.ng.pgsql``
---------------- ----------------

+ 31
- 2
php/map.jinja View File

'mysqlnd_pkg': 'php5-mysqlnd', 'mysqlnd_pkg': 'php5-mysqlnd',
'pear_pkg': 'php-pear', 'pear_pkg': 'php-pear',
'soap_pkg': 'php-soap', 'soap_pkg': 'php-soap',
'sqlite_pkg': 'php5-sqlite',
'sqlite_pkg': 'php5-sqlite',
'redis_pkg': 'php5-redis', 'redis_pkg': 'php5-redis',
'fpm_service': 'php5-fpm', 'fpm_service': 'php5-fpm',
'xml_pkg': 'php5-xml', 'xml_pkg': 'php5-xml',
'mysqlnd_pkg': 'php-mysqlnd', 'mysqlnd_pkg': 'php-mysqlnd',
'pear_pkg': 'php-pear', 'pear_pkg': 'php-pear',
'soap_pkg': 'php-soap', 'soap_pkg': 'php-soap',
'sqlite_pkg': 'php5-sqlite',
'sqlite_pkg': 'php5-sqlite',
'redis_pkg': 'php-redis', 'redis_pkg': 'php-redis',
'fpm_service': 'php-fpm', 'fpm_service': 'php-fpm',
'xml_pkg': 'php-xml', 'xml_pkg': 'php-xml',
'local_bin': '/usr/local/bin', 'local_bin': '/usr/local/bin',
'temp_dir': '/tmp', 'temp_dir': '/tmp',
}, },
'Suse': {
'php_pkg': 'php5',
'cli_pkg': 'php5-cli',
'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm',
'gd_pkg': 'php5-gd',
'intl_pkg': 'php5-intl',
'json_pkg': 'php5-json',
'mbstring_pkg': 'php5-mbstring',
'mcrypt_pkg': 'php5-mcrypt',
'mysql_pkg': 'php5-mysql',
'pear_pkg': 'php5-pear',
'soap_pkg': 'php5-soap',
'sqlite_pkg': 'php5-sqlite',
'fpm_service': 'php5-fpm',
'xml_pkg': ['php5-xmlreader','php5-xmlwriter','php5-xmlrpc'],
'suhosin_pkg': 'php5-suhosin',
'imap_pkg': 'php5-imap',
'adodb_pkg': 'php5-dba',
'pgsql_pkg': 'php5-pgsql',
'ldap_pkg': 'php5-ldap',
'php_ini': '/etc/php5/apache2/php.ini',
'dev_pkg': 'php5-devel',
'mongo_pecl': 'mongo',
'mongo_ext': 'mongo.so',
'ext_conf_path': '/etc/php5/conf.d',
'local_bin': '/usr/local/bin',
'temp_dir': '/tmp',
},
}, merge=salt['pillar.get']('php:lookup')) %} }, merge=salt['pillar.get']('php:lookup')) %}

+ 42
- 2
php/ng/map.jinja View File

'mysqlnd': 'php5-mysqlnd', 'mysqlnd': 'php5-mysqlnd',
'pear': 'php-pear', 'pear': 'php-pear',
'soap': 'php-soap', 'soap': 'php-soap',
'sqlite': 'php5-sqlite',
'sqlite': 'php5-sqlite',
'xml': 'php5-xmlrpc', 'xml': 'php5-xmlrpc',
'redis': 'php5-redis', 'redis': 'php5-redis',
'imagick': 'php5-imagick', 'imagick': 'php5-imagick',
'mysqlnd': 'php-mysqlnd', 'mysqlnd': 'php-mysqlnd',
'pear': 'php-pear', 'pear': 'php-pear',
'soap': 'php-soap', 'soap': 'php-soap',
'sqlite': 'php5-sqlite',
'sqlite': 'php5-sqlite',
'xml': 'php-xml', 'xml': 'php-xml',
'redis': 'php-redis', 'redis': 'php-redis',
'imagick': 'php-imagick', 'imagick': 'php-imagick',
'ini': '/etc/php.ini', 'ini': '/etc/php.ini',
}, },
}, },
'Suse': {
'pkgs': {
'php': 'php5',
'apache2': 'apache2-mod_php5',
'cli': 'php5',
'curl': 'php5-curl',
'fpm': 'php5-fpm',
'gd': 'php5-gd',
'intl': 'php5-intl',
'mbstring': 'php5-mbstring',
'mcrypt': 'php5-mcrypt',
'mysql': 'php5-mysql',
'pear': 'php5-pear',
'soap': 'php5-soap',
'sqlite': 'php5-sqlite',
'xml': ['php5-xmlreader','php5-xmlwriter','php5-xmlrpc'],
'suhosin': 'php5-suhosin',
'imap': 'php5-imap',
'adodb': 'php5-dba',
'pgsql': 'php5-pgsql',
'ldap': 'php5-ldap',
'json': 'php5-json',
},
'fpm': {
'conf': '/etc/php-fpm.conf',
'ini': '/etc/php.ini',
'pools': '/etc/php-fpm.d',
'service': 'php-fpm',
'defaults': {
'global': {
'pid': '/var/run/php-fpm/php-fpm.pid',
'error_log': '/var/log/php-fpm/error.log',
'include': '/etc/php-fpm.d/*.conf',
},
},
},
'cli': {
'ini': '/etc/php.ini',
},
},
}), }),
'fpm': { 'fpm': {
'service': { 'service': {

Loading…
Cancel
Save