Permalink
Browse files

* add a recipe to install EzProxy

  • Loading branch information...
1 parent 001ef0a commit c82080ce0731f7cd8b89cc6d216e8d990714c285 @till committed Sep 1, 2010
Showing with 21 additions and 0 deletions.
  1. +3 −0 ezproxy/attributes/default.rb
  2. +8 −0 ezproxy/metadata.rb
  3. +10 −0 ezproxy/recipes/server.rb
@@ -0,0 +1,3 @@
+default[:ezproxy] = {}
+default[:ezproxy][:install_dir] = "/usr/local/ezproxy"
+default[:ezproxy][:bin_name] = "ezproxy"
View
@@ -0,0 +1,8 @@
+maintainer "Till Klampaeckel"
+maintainer_email "till@lagged.biz"
+license "BSD License"
+description "Installs the EzProxy proxy server."
+version "0.1"
+recipe "ezproxy::server", "Installs EzProxy"
+
+supports 'ubuntu'
View
@@ -0,0 +1,10 @@
+package "ia32-libs"
+
+directory "#{node[:ezproxy][:install_dir]}" do
+ action :create
+end
+
+remote_file "#{node[:ezproxy][:install_dir]}/#{node[:ezproxy][:bin_name]}" do
+ source "http://psw.oclc.org/file.aspx?filename=ezproxy/ezproxy-linux.bin"
+ mode "0755"
+end

0 comments on commit c82080c

Please sign in to comment.