mirror of
https://github.com/falcosecurity/falco.git
synced 2025-10-22 12:27:10 +00:00
! Make sure we add the Sysdig repo and call an update before trying to install Falco ! Remove the require in the service class to fix a dependencies loop * Bump the version to 0.4.0 falco-CLA-1.0-contributing-entity: Coveo Solutions Inc. falco-CLA-1.0-signed-off-by: Jean-Philippe Lachance <jplachance@coveo.com>
20 lines
503 B
Puppet
20 lines
503 B
Puppet
# == Class: falco::install
|
|
class falco::install inherits falco {
|
|
package { 'falco':
|
|
ensure => $::falco::package_ensure,
|
|
}
|
|
|
|
if ($::falco::file_output != undef) {
|
|
logrotate::rule { 'falco_output':
|
|
path => $::falco::file_output[filename],
|
|
rotate => 5,
|
|
rotate_every => 'day',
|
|
size => '1M',
|
|
missingok => true,
|
|
compress => true,
|
|
sharedscripts => true,
|
|
postrotate => '/usr/bin/killall -USR1 falco'
|
|
}
|
|
}
|
|
}
|