Puppet Class: cloudinsight_agent::integrations::solr
- Inherits:
- cloudinsight_agent::params
- Defined in:
- manifests/integrations/solr.pp
Overview
Class: cloudinsight_agent::integrations::solr
This class will install the necessary configuration for the solr integration
Parameters:
$hostname:
The host solr is running on. Defaults to 'localhost'
$port
The JMX port.
$username
The username for connecting to the running JVM. Optional.
$password
The password for connecting to the running JVM. Optional.
$java_bin_path
The path to the Java binary. Should be set if the agent cannot find your java executable. Optional.
$trust_store_path
The path to the trust store. Should be set if ssl is enabled. Optional.
$trust_store_password
The trust store password. Should be set if ssl is enabled. Optional.
$tags
Optional hash of tags { env => 'prod' }.
Sample Usage:
class { 'cloudinsight_agent::integrations::solr':
port => 8081,
}
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'manifests/integrations/solr.pp', line 29
class cloudinsight_agent::integrations::solr(
$hostname = 'localhost',
$port = 7199,
$username = undef,
$password = undef,
$java_bin_path = undef,
$trust_store_path = undef,
$trust_store_password = undef,
$tags = {})inherits cloudinsight_agent::params {
file { "${cloudinsight_agent::params::conf_dir}/solr.yaml":
ensure => file,
owner => $cloudinsight_agent::params::cloudinsight_user,
group => $cloudinsight_agent::params::cloudinsight_group,
mode => '0600',
content => template('cloudinsight_agent/agent-conf.d/solr.yaml.erb'),
require => Package[$cloudinsight_agent::params::package_name],
notify => Service[$cloudinsight_agent::params::service_name]
}
}
|