Initial version of abusehelper module
This commit is contained in:
parent
b1e8479b74
commit
d623f603be
1 changed files with 19 additions and 0 deletions
19
abusehelper/manifests/init.pp
Normal file
19
abusehelper/manifests/init.pp
Normal file
|
@ -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"],
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue