Packages: ensure php version
This commit is contained in:
parent
c4decc900f
commit
502b86bfad
1 changed files with 7 additions and 2 deletions
|
@ -34,8 +34,8 @@ class rhizo_base::packages::common {
|
|||
'libffi-dev', 'apcupsd', 'expect', 'gawk', 'swig', 'g++', 'tinc',
|
||||
'rrdtool', 'dnsmasq', 'joe', 'htop', 'iperf3', 'iftop',
|
||||
'websocketd', 'fping', 'mtr-tiny', 'openssh-server', 'telnet', 'netcat-traditional',
|
||||
'apache2','libapache2-mod-php', 'php', 'php-pgsql', 'php-curl', 'php-cli', 'php-gd',
|
||||
'php-intl', 'php-gettext']:
|
||||
'apache2', 'libapache2-mod-php7.3', 'php', 'php7.3-pgsql', 'php-curl', 'php-cli', 'php7.3-gd',
|
||||
'php7.3-intl', 'php-gettext']:
|
||||
ensure => installed,
|
||||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
|
@ -68,6 +68,11 @@ class rhizo_base::packages::bullseye inherits rhizo_base::packages::common {
|
|||
|
||||
class rhizo_base::packages::buster inherits rhizo_base::packages::common {
|
||||
|
||||
package { [ 'libapache2-mod-php7.0', ]:
|
||||
ensure => absent,
|
||||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
|
||||
package { ['python-unidecode', 'python-dateutil', 'python-yaml', 'python-formencode',
|
||||
'python-xmltodict', 'python-psycopg2', 'python-pysqlite2' ]:
|
||||
ensure => installed,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue