Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
* add a recipe to install EzProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Sep 1, 2010
1 parent 001ef0a commit c82080c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ezproxy/attributes/default.rb
@@ -0,0 +1,3 @@
default[:ezproxy] = {}
default[:ezproxy][:install_dir] = "/usr/local/ezproxy"
default[:ezproxy][:bin_name] = "ezproxy"
8 changes: 8 additions & 0 deletions ezproxy/metadata.rb
@@ -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'
10 changes: 10 additions & 0 deletions ezproxy/recipes/server.rb
@@ -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.