Puppet manifests to deploy the Threat Stack server agent
- Amazon Linux
- CentOS
- RedHat
- Ubuntu
threatstack
- Main classthreatstack::apt
- Setup apt repository configuration and package installthreatstack::yum
- Setup yum repository configuration and package installthreatstack::configure
- Register and configure the agent with the Threat Stack service
threatstack::deploy_key
[required] - Set the deploy key for registering the agentthreatstack::policy
[optional array] - Set the policy or policies the node will be added to (Defaults to 'Default Policy')
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