From e278c3097fcdd8359fd33231c06182ea35b901cf Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Wed, 28 Oct 2020 12:09:24 +0000 Subject: [PATCH] malware samples update --- .../live_malware_samples/manifests/install.pp | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/modules/utilities/unix/live_malware_samples/manifests/install.pp b/modules/utilities/unix/live_malware_samples/manifests/install.pp index bdf23fcf5..d208c8154 100644 --- a/modules/utilities/unix/live_malware_samples/manifests/install.pp +++ b/modules/utilities/unix/live_malware_samples/manifests/install.pp @@ -1,17 +1,18 @@ class live_malware_samples::install{ - # Pip install triggers a 404, so just use git to grab the files + # Pip install currently triggers a 404, so just use git to grab the files # without the python frontend - - # ensure_packages(['python-pip'], { ensure => 'present' }) - # exec { 'git clone https://github.com/cliffe/theZoo.git': - # cwd => '/opt/', - # creates => '/opt/theZoo', - # path => ['/usr/bin', '/usr/sbin',], - # } -> - exec { 'pip install --user -r requirements.txt': - cwd => '/opt/theZoo', + # ensure_packages(['python-pip'], { ensure => 'present' }) + exec { 'git clone https://github.com/cliffe/theZoo.git': + cwd => '/opt/', + creates => '/opt/theZoo', path => ['/usr/bin', '/usr/sbin',], } + # -> + + # exec { 'pip install --user -r requirements.txt': + # cwd => '/opt/theZoo', + # path => ['/usr/bin', '/usr/sbin',], + # } }