pakiti

Pakiti client as a Puppet module
CERIT Scientific Cloud

CERIT Scientific Cloud

ceritsc

8,954 downloads

8,276 latest version

2.4 quality score

Version information

  • 0.9.3 (latest)
  • 0.9.2
  • 0.9.1
  • 0.9.0
released Jul 3rd 2019
This version is compatible with:
  • Puppet Enterprise 3.3.x
  • Puppet 3.3

Start using this module

Tags: pakiti

Documentation

ceritsc/pakiti — version 0.9.3 Jul 3rd 2019

Puppet Pakiti module

This module gets list of installed software via supported package manager and sends them to your patch monitoring service Pakiti (old web http://pakiti.sourceforge.net/).

Requirements

Module has been tested on:

  • Puppet 3.4 and Facter 2.x (structured facts support is required!)
  • OS:
  • Debian 6,7
  • RHEL/CentOS 6
  • SLES/SLED 11 SP3

Required modules:

Note: basic functionality should be available on any platform and package manager supported by Puppet itself.

Quick Start

Setup client

include pakiti

Full configuration options:

class { 'perun':
  packages       => $::packages,  # hash with list of packages
  servers        => ['...'],      # list of Pakiti server names
  server_path    => '/feed/',     # server URL path
  host           => '...',        # reported hostname
  organization   => '...',        # reported organization (tag)
  site           => '...',        # reported site
  os             => '...',        # reported OS
  arch           => '...',        # reported architecture
  kernel         => '...',        # reported running kernel
  report         => false|true,   # report back vulnerable packages?
  stringify_fail => false|true,   # fail or err when $packages is not hash
  send_fail      => false|true,   # fail or err on send error
  debug          => false|true,   # debug send request
}

Example:

class { 'perun':
  servers   => ['pakiti.localdomain:443'],
  report    => false,
  send_fail => false,
}

Standalone run

puppet apply --no-stringify_facts -e "class {'pakiti': servers => ['pakiti.localdomain:443'] }"

Full example:

mkdir -p ~/.puppet/modules/
git clone https://github.com/puppetlabs/puppetlabs-stdlib.git ~/.puppet/modules/stdlib
git clone https://github.com/CERIT-SC/puppet-pakiti.git ~/.puppet/modules/pakiti
puppet apply --no-stringify_facts -e "class {'pakiti': servers => ['pakiti.localdomain:443'] }"

CERIT Scientific Cloud, support@cerit-sc.cz