opensearch
: Module to manage opensearch.
opensearch::config
: Configure opensearch.opensearch::install
: Installs opensearch via archive, package, or repository.opensearch::install::archive
: Install opensearch via tarball.opensearch::install::package
: Install opensearch via deb/rpm package.opensearch::repository
: Handle opensearch repository.opensearch::repository::debian
: Install the Debian apt repository for opensearch.opensearch::repository::redhat
: Install the RedHat yum repository for opensearch.opensearch::service
: Handle opensearch service.
Module to manage opensearch.
The following parameters are available in the opensearch
class:
version
manage_package
package_source
package_ensure
package_architecture
package_provider
package_directory
pin_package
apt_pin_priority
manage_config
use_default_settings
default_settings
settings
use_default_notifications_notifications
notifications_notifications
use_default_notifications_notifications_core
notifications_notifications_core
use_default_observability_observability
observability_observability
use_default_reporting_reports_scheduler
reporting_reports_scheduler
use_default_security_action_groups
security_action_groups
use_default_security_allowlist
security_allowlist
use_default_security_audit
security_audit
use_default_security_config
security_config
use_default_security_internal_users
security_internal_users
use_default_security_nodes_dn
security_nodes_dn
use_default_security_roles_mapping
security_roles_mapping
use_default_security_roles
security_roles
use_default_security_tenants
security_tenants
use_default_security_whitelist
security_whitelist
heap_size
default_jvm_gc_settings
use_default_jvm_gc_settings
jvm_gc_settings
default_jvm_gc_logging_settings
use_default_jvm_gc_logging_settings
jvm_gc_logging_settings
manage_service
service_ensure
service_enable
restart_on_config_change
restart_on_package_change
manage_repository
repository_ensure
repository_location
repository_gpg_key
Data type: Optional[String]
The version to be installed. See also: https://opensearch.org/downloads.html
Default value: undef
Data type: Boolean
Whether to manage the package installation.
Default value: true
Data type: Enum['archive', 'download', 'repository']
The source for the package.
Default value: 'repository'
Data type: Enum['present', 'absent']
The status of the package.
Default value: 'present'
Data type: Enum['x64', 'arm64']
The architecture for the package.
Data type: Enum['dpkg', 'rpm']
The provider for the package to be used to install the package.
Data type: Stdlib::Absolutepath
The directory to install the package. Only used for package_install_method = 'archive'.
Default value: '/opt/opensearch'
Data type: Boolean
Whether to enable the apt::pin
or yum::versionlock
for the package.
Default value: true
Data type: Integer
The priority for apt::pin of the opensearch package.
Default value: 1001
Data type: Boolean
Whether to manage the configuration.
Default value: true
Data type: Boolean
Whether to use the modules default settings values.
Default value: true
Data type: Hash
The modules default settings for opensearch.
Data type: Hash
Additional settings for opensearch.
Default value: {}
Data type: Boolean
Whether to use the module default notification settings
Default value: true
Data type: Hash
Additional notification settings
Default value: {}
Data type: Boolean
Whether to use the module default notification-core settings
Default value: true
Data type: Hash
Additional notification-core settings
Default value: {}
Data type: Boolean
Whether to use the module default observability settings
Default value: true
Data type: Hash
Additional observability settings
Default value: {}
Data type: Boolean
Whether to use the module default reports-scheduler settings
Default value: true
Data type: Hash
Additional reports-scheduler settings
Default value: {}
Data type: Boolean
Whether to use the module default security action_groups settings
Default value: true
Data type: Hash
Additional security action_groups settings
Default value: {}
Data type: Boolean
Whether to use the module default security allowlist settings
Default value: true
Data type: Hash
Additional security allowlist settings
Default value: {}
Data type: Boolean
Whether to use the module default security audit settings
Default value: true
Data type: Hash
Additional security audit settings
Default value: {}
Data type: Boolean
Whether to use the module default security config settings
Default value: true
Data type: Hash
Additional security config settings
Default value: {}
Data type: Boolean
Whether to use the module default security internal_users settings
Default value: true
Data type: Hash
Additional security internal_users settings
Default value: {}
Data type: Boolean
Whether to use the module default security nodes_dn settings
Default value: true
Data type: Hash
Additional security nodes_dn settings
Default value: {}
Data type: Boolean
Whether to use the module default security roles_mapping settings
Default value: true
Data type: Hash
Additional security roles_mapping settings
Default value: {}
Data type: Boolean
Whether to use the module default security roles settings
Default value: true
Data type: Hash
Additional security roles settings
Default value: {}
Data type: Boolean
Whether to use the module default security tenants settings
Default value: true
Data type: Hash
Additional security tenants settings
Default value: {}
Data type: Boolean
Whether to use the module default security whitelist settings
Default value: true
Data type: Hash
Additional security whitelist settings
Default value: {}
Data type: Pattern[/\d+[mg]/]
The heap size for the JVM.
Default value: '512m'
Data type: Array[String[1]]
Default settings for jvm gc.
Default value: []
Data type: Boolean
Whether to use the default jvm gc settings.
Default value: true
Data type: Array[String[1]]
User settings for jvm gc.
Default value: []
Data type: Array[String[1]]
Default settings for jvm gc logging.
Default value: []
Data type: Boolean
Whether to use the default jvm gc logging settings.
Default value: true
Data type: Array[String[1]]
User settings for jvm logging gc.
Default value: []
Data type: Boolean
Whether to manage the opensearch service.
Default value: true
Data type: Stdlib::Ensure::Service
The state for the opensearch service.
Default value: 'running'
Data type: Boolean
Whether to enable the service.
Default value: true
Data type: Boolean
Restart the service on any config changes
Default value: true
Data type: Boolean
Restart the service on package changes
Default value: true
Data type: Boolean
Default value: true
Data type: Enum['present', 'absent']
Default value: 'present'
Data type: Optional[Stdlib::HTTPUrl]
Default value: undef
Data type: Stdlib::HTTPUrl
Default value: 'https://artifacts.opensearch.org/publickeys/opensearch.pgp'