common.pp 282 Bytes
Newer Older
mh's avatar
mh committed
1
# common php extensions
mh's avatar
mh committed
2
class php::extensions::common {
mh's avatar
linting    
mh committed
3
  php::package {
mh's avatar
mh committed
4
    ['common', 'gd', 'intl']:
mh's avatar
mh committed
5
6
      mode => 'direct';
  }
mh's avatar
mh committed
7
8
9
10
11
  if versioncmp($facts['os']['release']['major'],'8') < 0 {
    php::package { 'tidy':
      mode => 'direct';
    }
  }
mh's avatar
linting    
mh committed
12
  include php::pear::common
mh's avatar
mh committed
13
}