lab updates

This commit is contained in:
Z. Cliffe Schreuders
2020-11-12 23:23:18 +00:00
parent 3c59def117
commit 7899fc067f
3 changed files with 11 additions and 4 deletions

View File

@@ -1,11 +1,12 @@
class lime::install{
Exec { path => ['/bin','/sbin','/usr/bin', '/usr/sbin'] }
ensure_packages(['git','build-essentials'])
ensure_packages(['git','build-essential', "linux-headers-${facts['kernelrelease']}"])
exec { 'install linux-headers for LiME':
command => 'apt-get install linux-headers-$(uname -r)',
}->
# exec { 'install linux-headers for LiME':
# command => "apt-get install linux-headers-${facts['kernelrelease']}",
# provider => 'shell',
# }->
exec {'clone LiME repo':
command => 'git clone https://github.com/504ensicsLabs/LiME.git',
cwd => '/root/'

View File

@@ -13,4 +13,7 @@
<reference>https://github.com/504ensicsLabs/LiME</reference>
<requires>
<type>update</type>
</requires>
</utility>

View File

@@ -0,0 +1,3 @@
class zip_file::install {
ensure_packages(['zip'])
}