From d623f603be10ae4c222b2c8af04d34c202a2519b Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Tue, 9 Nov 2010 18:16:41 +0200 Subject: [PATCH] Initial version of abusehelper module --- abusehelper/manifests/init.pp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 abusehelper/manifests/init.pp diff --git a/abusehelper/manifests/init.pp b/abusehelper/manifests/init.pp new file mode 100644 index 0000000..b13a814 --- /dev/null +++ b/abusehelper/manifests/init.pp @@ -0,0 +1,19 @@ +# Install abusehelper from svn. +# +class abusehelper { + + if !$abusehelper_revision { + fail("\$abusehelper_revision must be set.") + } + + include svn::client + svn::export { "/usr/local/src/abusehelper": + source => "http://abusehelper.googlecode.com/svn/trunk", + revision => $abusehelper_revision, + } + + python::setup::install { "/usr/local/src/abusehelper": + require => Svn::Export["/usr/local/src/abusehelper"], + } + +}