Skip to content

Commit

Permalink
Swap php from Ubuntu 14.04's base (5.5) to Ondrej's 5.6 PPA
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff George committed Jan 18, 2016
1 parent 5c40a9c commit 65129ab
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions puppet/precip/manifests/php.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
class precip::php {
apt::key { 'ppa:ondrej':
id => '14AA40EC0831756756D7F66C4F4EA0AAE5267A6C',
}

apt::ppa { 'ppa:ondrej/php5-5.6':
package_manage => true,
require => Apt::Key['ppa:ondrej'],
}

class { 'php::cli': }
class { 'php::cli':
require => [
Apt::Ppa['ppa:ondrej/php5-5.6'],
]
}

file {[
'/etc/php5/',
Expand Down Expand Up @@ -40,8 +52,7 @@
'memcached',
'mysql',
'sqlite',
'xdebug',
'xhprof']:
'xdebug']:
notify => Service['httpd'],
}

Expand All @@ -53,7 +64,7 @@
'xdebug.idekey' => 'vagrant',
'xdebug.max_nesting_level' => '1000',
},
zend => '/usr/lib/php5/20121212',
zend => '/usr/lib/php5/20131226',
notify => Service['httpd'],
}

Expand Down

0 comments on commit 65129ab

Please sign in to comment.