Get abusehelper and graphingwiki sources as tarball from bitbucket
This commit is contained in:
parent
971d020496
commit
fb904c4c3e
3 changed files with 44 additions and 49 deletions
|
@ -29,7 +29,22 @@ class abusehelper {
|
|||
require => File["/usr/local/src/abusehelper.tar.gz"],
|
||||
before => Python::Setup::Install["/usr/local/src/abusehelper"],
|
||||
}
|
||||
python::setup::install { "/usr/local/src/abusehelper":
|
||||
file { "/usr/local/src/idiokit.tar.gz":
|
||||
ensure => present,
|
||||
mode => 0644,
|
||||
owner => root,
|
||||
group => root,
|
||||
source => "puppet:///files/packages/idiokit.tar.gz",
|
||||
links => follow,
|
||||
}
|
||||
util::extract::tar { "/usr/local/src/idiokit":
|
||||
strip => 1,
|
||||
source => "/usr/local/src/idiokit.tar.gz",
|
||||
require => File["/usr/local/src/idiokit.tar.gz"],
|
||||
before => Python::Setup::Install["/usr/local/src/idiokit"],
|
||||
}
|
||||
python::setup::install { [ "/usr/local/src/abusehelper",
|
||||
"/usr/local/src/idiokit", ]:
|
||||
python => $operatingsystem ? {
|
||||
centos => "python2.6",
|
||||
default => "python",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue