Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #61 from Rud5G/issue-50-mpm-event-with-php5
Browse files Browse the repository at this point in the history
Issue 50 mpm event with php5
  • Loading branch information
Rud5G committed Apr 2, 2015
2 parents 202e4c8 + 1904427 commit 2dcfada
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
2 changes: 0 additions & 2 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
# limitations under the License.
#

# ::Chef::Node.send(:include, Opscode::OpenSSL::Password)

default['application']['admin']['email'] = '[email protected]'
23 changes: 17 additions & 6 deletions recipes/php.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,29 @@
# All rights reserved - Do Not Redistribute
#

# include_recipe 'zf2::webserver'

# repository is also added to default, because of the issue:
# installing php5.3 during compiletime. and never installing php5.4

apt_repository 'php-5.4' do
uri 'http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu'
distribution node['lsb']['codename']
components ['main']
keyserver 'keyserver.ubuntu.com'
key 'E5267A6C'
uri 'http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu'
distribution node['lsb']['codename']
components ['main']
keyserver 'keyserver.ubuntu.com'
key 'E5267A6C'
only_if { node['php']['set_version'] == '5.4' }
action :add
end

include_recipe 'php'
apt_repository 'php-5.4' do
# uri 'http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu'
# distribution node['lsb']['codename']
# components ['main']
# keyserver 'keyserver.ubuntu.com'
# key 'E5267A6C'
only_if { node['php']['set_version'] != '5.4' }
action :remove
end

include_recipe 'php'
6 changes: 3 additions & 3 deletions recipes/servernode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

include_recipe 'zf2::database'

include_recipe 'zf2::webserver'

include_recipe 'zf2::php'

include_recipe 'zf2::nodejs'

include_recipe 'zf2::projects'

include_recipe 'zf2::webserver'
include_recipe 'zf2::projects'

0 comments on commit 2dcfada

Please sign in to comment.