Skip to content

BioIQ/threatstack-puppet

 
 

Repository files navigation

Threat Stack Puppet Module

Build Status Puppet Forge

Puppet manifests to deploy the Threat Stack server agent

Platforms

  • Amazon Linux
  • CentOS
  • RedHat
  • Ubuntu

Classes

  • threatstack - Main class
  • threatstack::apt - Setup apt repository configuration and package install
  • threatstack::yum - Setup yum repository configuration and package install
  • threatstack::configure - Register and configure the agent with the Threat Stack service

Parameters

  • threatstack::deploy_key [required] - Set the deploy key for registering the agent
  • threatstack::policy [optional array] - Set the policy or policies the node will be added to (Defaults to 'Default Policy')

Testing

To test setup a site.pp in the manifests folder with your deploy key (and optional policy &/or hostname)

class { 'threatstack':
  deploy_key => 'xKkRzesqgkNPGwNNkmx4zHqTYCTUidDdMmNfcZqbxRLWLs3VyE',
  policy => ['Default Policy'],
  ts_hostname => 'My-server-1'
}

Then run:

bundle install
bundle exec kitchen test

About

Puppet module to install the Threat Stack agent

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 66.7%
  • Puppet 33.3%