Skip to content
This repository
Browse code

* add a recipe to install EzProxy

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

0 notes on commit c82080c

Please sign in to comment.
Something went wrong with that request. Please try again.