Skip to content

Commit

Permalink
Merge pull request voxpupuli#134 from TraGicCode/bug/splunkd_port_var…
Browse files Browse the repository at this point in the history
…_not_defined

SplunkForwarder has no concept of a splunkd_port
  • Loading branch information
bastelfreak authored Sep 20, 2017
2 parents a466146 + 0e4ba45 commit 92018fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion manifests/forwarder.pp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
case $::kernel {
'Linux': {
class { '::splunk::platform::posix':
splunkd_port => $splunkd_port,
splunk_user => $splunk_user,
}
}
Expand Down
2 changes: 1 addition & 1 deletion manifests/platform/posix.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Requires: nothing
#
class splunk::platform::posix (
$splunkd_port = $splunk::splunkd_port,
$splunkd_port = undef,
$splunk_user = $splunk::params::splunk_user,
$server_service = undef,
) inherits splunk::virtual {
Expand Down
6 changes: 1 addition & 5 deletions spec/classes/forwarder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
let(:facts) { os_facts }

context 'with defaults' do
if os == 'solaris-11-i86pc'
pending
else
it { is_expected.to compile.with_all_deps }
end
it { is_expected.to compile.with_all_deps }
end
end
end
Expand Down

0 comments on commit 92018fe

Please sign in to comment.