Permalink
Browse files

Add Php 7.2 support

  • Loading branch information...
BronsonQuick committed Sep 27, 2017
1 parent 28a2b55 commit 91cfedc9c8fb6c24bc73f52c7c3172aacf587492
Showing with 14 additions and 8 deletions.
  1. +1 −1 config.yaml
  2. +13 −7 puppet/modules/chassis/manifests/php.pp
View
@@ -99,7 +99,7 @@ synced_folders:
# - git@github.com:Chassis/memcache.git
# PHP version
# Values: 5.6, 7.0, 7.1 (or 5.6.30)
# Values: 5.6, 7.0, 7.1, 7.2 (or 5.6.30)
php: 7.0
# VirtualBox-specific customisations.
@@ -125,7 +125,8 @@
'5.5',
'5.6',
'7.0',
'7.1': {
'7.1',
'7.2': {
package { [ "php${name}-fpm", "php${name}-cli", "php${name}-common" ]:
ensure => absent,
}
@@ -142,32 +143,37 @@
case $short_ver {
'5.3': {
remove_php_fpm { [ '5.5', '5.6', '7.0', '7.1' ]:
remove_php_fpm { [ '5.5', '5.6', '7.0', '7.1', '7.2' ]:
notify => Service["${php_package}-fpm"],
}
}
'5.4': {
remove_php_fpm { [ '5.5', '5.6', '7.0', '7.1' ]:
remove_php_fpm { [ '5.5', '5.6', '7.0', '7.1', '7.2' ]:
notify => Service["${php_package}-fpm"],
}
}
'5.5': {
remove_php_fpm { [ 'old', '5.6', '7.0', '7.1' ]:
remove_php_fpm { [ 'old', '5.6', '7.0', '7.1', '7.2' ]:
notify => Service["${php_package}-fpm"],
}
}
'5.6': {
remove_php_fpm { [ 'old', '5.5', '7.0', '7.1' ]:
remove_php_fpm { [ 'old', '5.5', '7.0', '7.1', '7.2' ]:
notify => Service["${php_package}-fpm"],
}
}
'7.0': {
remove_php_fpm { [ 'old', '5.5', '5.6', '7.1' ]:
remove_php_fpm { [ 'old', '5.5', '5.6', '7.1', '7.2' ]:
notify => Service["${php_package}-fpm"],
}
}
'7.1': {
remove_php_fpm { [ 'old', '5.5', '5.6', '7.0' ]:
remove_php_fpm { [ 'old', '5.5', '5.6', '7.0', '7.2' ]:
notify => Service["${php_package}-fpm"],
}
}
'7.2': {
remove_php_fpm { [ 'old', '5.5', '5.6', '7.0', '7.1' ]:
notify => Service["${php_package}-fpm"],
}
}

0 comments on commit 91cfedc

Please sign in to comment.