mysql.pp 251 Bytes
Newer Older
mh's avatar
mh committed
1
# manage mysql extension
Marcel Haerry's avatar
Marcel Haerry committed
2
class php::extensions::mysql {
mh's avatar
mh committed
3
4
5
6
7
8
9
10
  if versioncmp($facts['os']['release']['major'],'8') < 0 {
    php::package { 'mysql':
      mode => 'direct',
    }
  } else {
    php::package { 'mysqlnd':
      mode => 'direct',
    }
mh's avatar
mh committed
11
  }
Marcel Haerry's avatar
Marcel Haerry committed
12
}