Comments (6)
That dramatically increases complexity for sure. I won't have cycles to do it myself, but here's what I would like:
Client only
At least initially, only Windows clients would be supported. I don't know how well Splunk server runs on Windows, but I want to avoid needless complexity.
Installation
The splunk_installer
definition needs support to install Windows
packages. This should use the native package
resource with Windows
provider and filesystem location of the package (MSI, etc)
Helpers, Resource
The library helpers need to be extended for Windows paths. These should be done in the "Windows Way" of doing such things, and not break compatibility with the existing implementation.
As applicable, the splunk_app
resource needs to be updated to support Windows. This may be abstracted sufficiently in the library helpers, though.
Test Coverage
ChefSpec: This should be the best covered place for tests. ChefSpec helps ensure we don't have regressions on other platforms.
Kitchen: Test Kitchen itself doesn't yet support Windows guests. There is an open pull request, but we must be able to automatically test Windows with Kitchen.
Serverspec: I believe Serverspec works on Windows, but I have no experience with it. The tests that exist now would automatically get run against Windows nodes, so that has to work.
from chef-splunk.
I'm looking at how this could be implemented. First obstacle is finding the download link that doesn't require authentication.
Linux
I've not been able to guess the URL for windows. The url the browser shows is
I'm assuming that it should look like this:
from chef-splunk.
from chef-splunk.
Splunk recently changed the download URIs. Here's the one you're looking for:
http://download.splunk.com/products/splunk/releases/6.3.3/windows/splunk-6.3.3-f44afce176d0-x64-release.msi
from chef-splunk.
Instead of downloading the release directly, it would probably be better to use chocolatey packages.
https://chocolatey.org/packages/splunkforwarder
from chef-splunk.
I think that since the node attributes allow for specifying any download URL an implementer needs, this cookbook shouldn't have to be modified to accommodate any particular URL preference. As new versions are released, the default version and URL in this cookbook will constantly need to be updated, which can be easily done in a role or environment attribute setting or in a wrapper cookbook of choice.
The primary enhancement I think that is in scope for this cookbook is detecting when a splunk forwarder bundle is an MSI and using the appropriate package resource to install it. I don't know if there is a need to support installing splunk server on Windows, as I do not have experience with the server running on Windows either -- don't know many implementations where Splunk Server is installed on a Windows server, as well.
from chef-splunk.
Related Issues (20)
- `splunk_auth` no longer required by `splunk_app` resource
- Error executing action `run` on resource 'execute[update-splunk-mgmt-port]' HOT 7
- Splunk forwarder installation failure HOT 6
- chef-splunk installation failure due default_description as a property field
- SHC captain logic fails when existing captain exists
- shcluster_member? is missing an argument on line 213
- splunk version conflict after upgrades can cause Splunk to be downgraded
- splunk.service: Refusing to accept PID outside of service control group HOT 8
- systemd unit file in cookbook has diverged from splunk documentation HOT 2
- GitHub actions don't test all supported OSes
- shcluster_member? is returning false when it should be true
- Implementing Windows Support for Client Only HOT 1
- splunk_login_successful? helper method fails to send auth info to splunkd
- Add SUSE support
- undefined local variable or method `node' for Chef::Provider::Service::Systemd:Class HOT 3
- Splunk restarting on every run because of mgmt port
- splunk_monitor resource fails for valid index names
- chef-vault and default recipe being invoked when only installing the forwarder
- Systemd doesn't recognize Splunkd.service on upgrade
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-splunk.