Created
May 9, 2013 15:37
-
-
Save kkurahar/5548243 to your computer and use it in GitHub Desktop.
chef recipe for phpmyadmin.
platforms are supported: Amazon Linux.
This file contains 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 characters
rpmforge_file = "rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm" | |
execute 'get rpmforge packege' do | |
cwd '/tmp' | |
command "wget http://pkgs.repoforge.org/rpmforge-release/#{ rpmforge_file }" | |
not_if { ::File.exists?("/tmp/#{ rpmforge_file }") } | |
end | |
rpm_package "#{ rpmforge_file }" do | |
action :install | |
source "/tmp/#{ rpmforge_file }" | |
end | |
package 'phpmyadmin' do | |
action :install | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment