File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 6060 Optional[String] $package_source = undef ,
6161 String $package_name = $splunk::params::forwarder_pkg_name,
6262 String $package_ensure = $splunk::params::forwarder_pkg_ensure,
63- Variant[String,Integer] $logging_port = $splunk::params::logging_port,
64- Variant[String,Integer] $splunkd_port = $splunk::params::splunkd_port,
63+ Stdlib::Port $logging_port = $splunk::params::logging_port,
64+ Stdlib::Port $splunkd_port = $splunk::params::splunkd_port,
6565 Optional[Array] $install_options = $splunk::params::forwarder_install_options,
6666 String $splunk_user = $splunk::params::splunk_user,
67- String $splunkd_listen = ' 127.0.0.1' ,
67+ Stdlib::Host $splunkd_listen = ' 127.0.0.1' ,
6868 Boolean $purge_deploymentclient = false ,
6969 Boolean $purge_inputs = false ,
7070 Boolean $purge_outputs = false ,
Original file line number Diff line number Diff line change 5353 String $package_name = $splunk::params::server_pkg_name,
5454 String $package_ensure = $splunk::params::server_pkg_ensure,
5555 Variant[Array[String],String] $server_service = $splunk::params::server_service,
56- Variant[String,Integer] $logging_port = $splunk::params::logging_port,
57- Variant[String,Integer] $splunkd_port = $splunk::params::splunkd_port,
56+ Stdlib::Port $logging_port = $splunk::params::logging_port,
57+ Stdlib::Port $splunkd_port = $splunk::params::splunkd_port,
5858 String $splunk_user = $splunk::params::splunk_user,
5959 Optional[String] $pkg_provider = $splunk::params::pkg_provider,
60- String $splunkd_listen = ' 127.0.0.1' ,
61- Variant[String,Integer] $web_port = ' 8000' ,
60+ Stdlib::Host $splunkd_listen = ' 127.0.0.1' ,
61+ Stdlib::Port $web_port = 8000,
6262 Boolean $purge_alert_actions = false ,
6363 Boolean $purge_authentication = false ,
6464 Boolean $purge_authorize = false ,
Original file line number Diff line number Diff line change 8181# Requires: nothing
8282#
8383class splunk::params (
84- $version = ' 7.0.0' ,
85- $build = ' c8a78efdd40f' ,
86- $src_root = ' https://download.splunk.com' ,
87- $splunkd_port = ' 8089' ,
88- $logging_port = ' 9997' ,
89- $server = ' splunk' ,
90- $forwarder_installdir = undef ,
91- $server_installdir = undef ,
92- $splunk_user = $facts[' os' ][' family' ] ? {
84+ String $version = ' 7.0.0' ,
85+ String $build = ' c8a78efdd40f' ,
86+ String $src_root = ' https://download.splunk.com' ,
87+ Stdlib::Port $splunkd_port = 8089,
88+ Stdlib::Port $logging_port = 9997,
89+ String $server = ' splunk' ,
90+ Optional[String] $forwarder_installdir = undef ,
91+ Optional[String] $server_installdir = undef ,
92+ String $splunk_user = $facts[' os' ][' family' ] ? {
9393 ' Windows' => ' Administrator' ,
9494 default => ' root'
9595 }
You can’t perform that action at this time.
0 commit comments