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:
versionmanage_packagepackage_sourcepackage_ensurepackage_architecturepackage_providerpackage_directorypin_packageapt_pin_prioritymanage_configuse_default_settingsdefault_settingssettingsuse_default_notifications_notificationsnotifications_notificationsuse_default_notifications_notifications_corenotifications_notifications_coreuse_default_observability_observabilityobservability_observabilityuse_default_reporting_reports_schedulerreporting_reports_scheduleruse_default_security_action_groupssecurity_action_groupsuse_default_security_allowlistsecurity_allowlistuse_default_security_auditsecurity_audituse_default_security_configsecurity_configuse_default_security_internal_userssecurity_internal_usersuse_default_security_nodes_dnsecurity_nodes_dnuse_default_security_roles_mappingsecurity_roles_mappinguse_default_security_rolessecurity_rolesuse_default_security_tenantssecurity_tenantsuse_default_security_whitelistsecurity_whitelistheap_sizedefault_jvm_gc_settingsuse_default_jvm_gc_settingsjvm_gc_settingsdefault_jvm_gc_logging_settingsuse_default_jvm_gc_logging_settingsjvm_gc_logging_settingsmanage_serviceservice_ensureservice_enablerestart_on_config_changerestart_on_package_changemanage_repositoryrepository_ensurerepository_locationrepository_gpg_keyheap_dump_on_oom
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'
Data type: Boolean
Default value: true