Skip to content

Instantly share code, notes, and snippets.

@kkurahar
Created May 9, 2013 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkurahar/5548243 to your computer and use it in GitHub Desktop.
Save kkurahar/5548243 to your computer and use it in GitHub Desktop.
chef recipe for phpmyadmin. platforms are supported: Amazon Linux.
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