-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module does not work with Splunk 7.1.x or 7.2.x #213
Comments
Hi @rbclark, thanks for the report. Are you able to provide a PR to add spunk 7.1/7.2 support? |
@bastelfreak @rbclark I have some staged updates for 7.X I could clean up and submit. In one of my updates, I accounted for legacy mode - is that an update the community cares for? |
Is is actually a default gem? At least on archlinux it isn't bundled with ruby2,6, as far as I know. It's a stand alone gem. |
@bastelfreak My apologies, I'm not sure which gem you are referring to. I was questioning the support of running the deprecated splunkweb service, separate from splunkd, documented here: https://docs.splunk.com/Documentation/Splunk/7.2.3/Admin/StartSplunk#Start_Splunk_Enterprise_on_Unix_in_legacy_mode It's not recommended - I'm not sure if that's something worth maintaining as part of the module. |
Oh lol, my comment was for a different issue. Anyways: Yes, a PR with your changes is probably a good idea. |
Working on a larger refactor to make this happen |
* Supports systemd boot-start * Changed module design from Class[splunk], Class[splunk::forwarder] to Class[splunk::enterprise] and Class[splunk::forwarder] * Removed legacy-style service management * Allow users to disable default config (splunk/forwarder_* types) * Removed ability to include enterprise and forwarder on the same machine * Forwarder is simply a subset of enterprise capability and there is no need to have both * Forwarder and enterprise potentially share common service names and other assets, which cause issues when including both * Bumped dependency on stdlib to 4.25.0 to ensure strong typing support * Allow users to specify splunk service user * Added password management to enterprise Fixes voxpupuli#213 Fixes voxpupuli#212 Fixes voxpupuli#210
* Default splunk version to 7.2.4.2 * Supports systemd boot-start * sysvinit file ensured absent on systemd machines when supported * net-tools ensured present on enterprise nodes splunk >= 7.2.4.2 * Removed legacy-style service management * Changed module design from Class[splunk], Class[splunk::forwarder] to Class[splunk::enterprise] and Class[splunk::forwarder] * Removed inclusion of the ::archive class * Cleaned up install logic * Allow users to disable default config (splunk/forwarder_* types) * Generate splunkforwarder_input/output with iteration, instead of create_resources * Removed ability to include enterprise and forwarder on the same machine * Forwarder and enterprise potentially share common service names and other assets, which cause issues when including both * Forwarder is simply a subset of enterprise capability and there is no need to have both * Bumped dependency on stdlib to 4.25.0 to ensure strong typing support * Allow users to specify splunk service user * Added password management to enterprise Fixes voxpupuli#213 Fixes voxpupuli#212 Fixes voxpupuli#210
In Splunk 7.1 and above, Splunk has removed the splunk service.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
With the Splunk 7.2.3 RPM in a yum repository accessible to your system:
What are you seeing
Splunk fails due to the splunk service no longer existing in Splunk 7.1 and 7.2. It seems that on Linux the new service setup might look a lot more like the windows setup, with there only being 2 services,
Splunkd
, andsplunkweb
.What behaviour did you expect instead
A successful install of Splunk
Output log
Any additional information you'd like to impart
It seems that splunk has also renamed the
splunkd
service toSplunkd
.The text was updated successfully, but these errors were encountered: