Skip to content

Commit

Permalink
Used generic package
Browse files Browse the repository at this point in the history
  • Loading branch information
directdevops committed Jan 21, 2021
1 parent a22ef14 commit 060c45f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Jan21/cookbooks/qtlampserver/recipes/lamp_centos.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Copyright:: 2021, The Authors, All Rights Reserved. # Copyright:: 2021, The Authors, All Rights Reserved.


# Install apache # Install apache
yum_package 'httpd' do package 'httpd' do
action :install action :install
end end


Expand All @@ -16,14 +16,14 @@


# Install php php-mysql php-fpm # Install php php-mysql php-fpm


yum_package 'php' do package 'php' do
action :install action :install
end end


yum_package 'php-mysql' do package 'php-mysql' do
action :install action :install
end end


yum_package 'php-fpm' do package 'php-fpm' do
action :install action :install
end end
10 changes: 5 additions & 5 deletions Jan21/cookbooks/qtlampserver/recipes/lamp_ubuntu.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
# action :install # action :install
#end #end


apt_package 'apache2' do package 'apache2' do
action :install action :install
end end


# sudo apt install php libapache2-mod-php php-mysql php-cli -y # sudo apt install php libapache2-mod-php php-mysql php-cli -y
apt_package 'php' do package 'php' do
action :install action :install
end end


apt_package 'libapache2-mod-php' do package 'libapache2-mod-php' do
action :install action :install
end end


apt_package 'php-mysql' do package 'php-mysql' do
action :install action :install
end end


apt_package 'php-cli' do package 'php-cli' do
action :install action :install
end end


Expand Down

0 comments on commit 060c45f

Please sign in to comment.