Open jadestorm opened 3 years ago
As a workaround you should be able to set $manage_net_tools
to false
. This ability was introduced in #303.
Hey @bastelfreak!
We are currently also running into issues with the net-tools package. For some reasons we can only use the builds from forge, but no direct github repos. Do you have any idea if a new version (including fixes from #303 ) will be released to forge anytime soon?
we do a new release in https://github.com/voxpupuli/puppet-splunk/pull/317
As per https://docs.splunk.com/Documentation/UnixAddOn/6.0.0/User/Platformandhardwarerequirements:
The Splunk Add-on for Unix and Linux requires this additional software package to be installed on RHEL 7 and CentOS 7 (use your OS-specific package manager to install this package if it is not already installed):
net-tools
So it might be safe to disable it depending on your platform.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
On every run, net-tools gets 'reinstalled', see output log before. It's really installing splunkfoirwarder over and over.
What behaviour did you expect instead
net-tools should install net-tools =)
Output log
Any additional information you'd like to impart
Overriding the defaults for Package above it, around lines 24-30, is what's causing this. Those defaults carry over to the net-tools install and cause it to install the wrong thing.