Version information
This version is compatible with:
- Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
- Puppet >= 4.10.0 < 8.0.0
- , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'broadinstitute-sentinelone_agent', '0.2.0'
Learn more about managing modules with a PuppetfileDocumentation
sentinelone_agent
A Puppet module to manage the SentinelOne agent.
Table of Contents
- Description
- Setup - The basics of getting started with sentinelone_agent
- Usage - Configuration options and additional functionality
- Reference
- Limitations - OS compatibility, etc.
Description
This module will install the SentinelOne Agent from a repository and keep the required configuration files updated.
Setup
Setup Requirements
Due to the nature of SentinelOne's distribution methods, making the actual package available in a repository is outside the scope of this module. In most cases, you can create your own custom Yum, Apt, etc. repository and serve out the SentinelAgent
package you can download from the SentinelOne interface.
This module was tested on versions of SentinelAgent
>= 4, and therefore cannot be guaranteed to work on older versions of the agent installation.
Installation
The easiest way to install this module is through Puppet Forge:
puppet module install broadinstitute-sentinelone_agent
If you use the Puppet environment automation tool r10k
, you can also simply add this to your Puppetfile
:
mod 'broadinstitute/sentinelone_agent'
Usage
Puppet Manifest
class { 'sentinelone_agent':
token => 'abc123',
}
With Hiera
---
classes:
- sentinelone_agent
sentinelone_agent::token: 'abc123'
Reference
REFERENCE.md (generated with Puppet Strings)
Limitations
This has currently only been tested extensively on RedHat-based systems.
Reference
Table of Contents
Classes
sentinelone_agent
: Manage an installation of the SentinelOne Agentsentinelone_agent::config
: Manage the SentinelOne Agent configurationsentinelone_agent::install
: Manage the SentinelOne Agent installationsentinelone_agent::service
: Manage the SentinelOne Agent service
Defined types
sentinelone_agent::option
: Control an option in the SentinelOne Agent configuration file
Classes
sentinelone_agent
Manage an installation of the SentinelOne Agent
Examples
class { 'sentinelone_agent':
token => 'abc123',
}
Parameters
The following parameters are available in the sentinelone_agent
class:
logrotate_ensure
manage_logrotate
manage_package
manage_service
options
package_ensure
package_name
service_enable
service_ensure
service_name
token
logrotate_ensure
Data type: Enum['absent', 'present']
Ensure whether the logrotate file is present or not (default: 'present').
manage_logrotate
Data type: Boolean
Decide whether to manage the logrotate configuration for the service (default: true).
manage_package
Data type: Boolean
Decide whether to manage the package (default: true).
manage_service
Data type: Boolean
Decide whether to manage the service (default: true).
options
Data type: Optional[Hash]
Custom options to be changed in the SentinelOne Agent configuration
package_ensure
Data type: Variant[Enum['absent', 'installed', 'latest'], Pattern[/^(\d+\.){3}\d+$/]]
Ensure the state of the package (default: 'installed').
package_name
Data type: String
The name of the SentinelOne agent package (default: 'SentinelAgent').
service_enable
Data type: Boolean
Decide whether to enable the service (default: true).
service_ensure
Data type: Enum['running', 'stopped']
Ensure the state of the service (default: 'running').
service_name
Data type: String
The name of the SentinelOne agent service (default: 'sentinelone').
token
Data type: String
The token to be used by the SentinelOne agent (no default, but required)
sentinelone_agent::config
Manage the SentinelOne Agent configuration
sentinelone_agent::install
Manage the SentinelOne Agent installation
sentinelone_agent::service
Manage the SentinelOne Agent service
Defined types
sentinelone_agent::option
Control an option in the SentinelOne Agent configuration file
Examples
sentinelone_agent::option { 'mgmt_proxy_url':
value => 'http://example.org:8888',
}
sentinelone_agent::option { 'some_option_name':
setting => 'mgmt_proxy_url'
value => 'http://example.org:8888',
}
Parameters
The following parameters are available in the sentinelone_agent::option
defined type:
value
Data type: String
The value to set for the given option.
setting
Data type: Optional[String]
Optionally set the option name. If not provided, the resource title will be used.
Default value: undef
Changelog
0.2.0 (2023-11-15)
Implemented enhancements:
Fixed bugs:
- Upgrade dependencies #49 (teluq-pbrideau)
0.1.3 (2022-01-05)
Fixed bugs:
0.1.2 (2021-07-14)
Implemented enhancements:
0.1.1 (2021-04-02)
Fixed bugs:
0.1.0 (2021-04-02)
Implemented enhancements:
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppet-augeasproviders_core (< 5.0.0)
- puppetlabs-stdlib (>= 1.0.0 < 9.0.0)
- puppet/logrotate (> 3.4.0 < 7.0.0)