Version information
released Jul 22nd 2015
This version is compatible with:
- Puppet Enterprise >= 3.0.0
- Puppet 2.x
- , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'bryana-samhain', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
bryana/samhain — version 0.1.0 Jul 22nd 2015
#samhain
####Table of Contents
- Overview
- Setup - The basics of getting started with samhain
- Creating Binaries - Downloading and Compilig your binaries
- Limitations - OS compatibility, etc.
##Overview
This Puppet samhain module installs, configures, and manages the Samhain HIDS service. This is not your typical turn key solution. The binary needs to be compiled for your platform and hosted in zip or tar.gz format in your environment.
##Setup
###What samhain affects
- samhain binaries.
- samhain configuration file.
- samhain service.
###Beginning with samhain
Pre-compiled binary installation, config assurance, and service setup.
class { 'samhain':
deploysrc => 'http://localhost/samhain.zip',
}
##Creating Binaries
This is the agent/client that runs on the nodes. There is no vendor provided packages or binaries as each installation is different and can contain keys in the binary itself for security.
Download and unzip the source from here: http://www.la-samhna.de/samhain/samhain-current.tar.gz
yum -y install glibc-static zlib zlib-devel zlib-static ImageMagick
yum -y groupinstall "development tools"
# please take note, these directories are required or the agent init will fail
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/var/lib --enable-srp --enable-suidcheck --enable-port-check \
--enable-process-check --enable-login-watch --with-pid-file=/var/run/samhain/samhain.pid
make
# now you have a static samhain binary to zip and distribute
Dependencies
- nanliu-staging (>= 1.0.0)
- counsyl-sys (>= 0.9.0)