File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 10
10
# automatically supplied. Otherwise it is required. The URL can be of any
11
11
# protocol supported by the nanliu/staging module.
12
12
#
13
+ # [*package_ensure]
14
+ # ensurance of the package
15
+ #
13
16
# [*package_name*]
14
17
# The name of the package(s) as they will exist or be detected on the host.
15
18
#
41
44
#
42
45
class splunk (
43
46
$package_source = $splunk::params::server_pkg_src,
47
+ $package_ensure = $splunk::params::server_pkg_ensure,
44
48
$package_name = $splunk::params::server_pkg_name,
45
49
$logging_port = $splunk::params::logging_port,
46
50
$splunkd_port = $splunk::params::splunkd_port,
67
71
}
68
72
69
73
package { $package_name:
70
- ensure => installed ,
74
+ ensure => $package_ensure ,
71
75
provider => $pkg_provider ,
72
76
source => $pkg_source ,
73
77
before => Service[$virtual_service ],
Original file line number Diff line number Diff line change 221
221
$forwarder_src_pkg = " splunkforwarder-${package_suffix} "
222
222
$server_src_pkg = " splunk-${package_suffix} "
223
223
224
+ $server_pkg_ensure = ' installed'
224
225
$server_pkg_src = " ${src_root} /${server_src_subdir} /${server_src_pkg} "
225
226
$forwarder_pkg_src = " ${src_root} /${forwarder_src_subdir} /${forwarder_src_pkg} "
226
227
$create_password = true
You can’t perform that action at this time.
0 commit comments