Created
March 18, 2015 21:28
Revisions
-
ameir created this gist
Mar 18, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ case node['platform'] when 'ubuntu' apt_repository "ondrej-php" do uri "http://ppa.launchpad.net/ondrej/php5/ubuntu" distribution node['lsb']['codename'] components ["main"] keyserver "keyserver.ubuntu.com" key "E5267A6C" action :add end when 'debian' apt_repository "dotdeb" do uri "http://packages.dotdeb.org" distribution "stable" components ['all'] key "http://www.dotdeb.org/dotdeb.gpg" action :add end end %w{ php5-mysqlnd php5-mcrypt php5-cli php5-curl php5-json php5-sqlite }.each do |package| package package do action :install end end include_recipe 'php-fpm'