Comments (6)
Do you need the build number in there as well?
heres mine for the forwarder
class { '::splunk::params':
version => '6.5.2',
build => '67571ef4b87d',
src_root => "blankurl/FS_Splunk",
server => 'serblanked',
splunkd_port => '8089',
from puppet-splunk.
Unfortunately not, but good spot vandelin586, I was hopeful that would be it. I have my deb package at:
My Manifest now looks like:
class mailonline::splunk2 {
class { '::splunk::params':
version => '6.6.3',
build => 'e21ee54bc796',
src_root => 'http://somebucket.s3-website-eu-west-1.amazonaws.com',
splunkd_port => '8089',
}
include ::splunk
}
I tried adding server as per your class but that still made no difference, but thanks for the suggestion.
from puppet-splunk.
Also had a look through splunk::params, the notes and code suggests the path to the .deb package should be @ .../splunk/linux/splunk-6.6.3-e21ee54bc796-linux-2.6-amd64.deb, tried adding my .deb to that location but still no change in the error Error: Failed to apply catalog: no parameter named 'section'
from puppet-splunk.
I get further misery when trying to use puppet:///... as a src_root:
Error: Failed to apply catalog: Parameter source failed on Archive[/opt/staging/splunk/splunk-6.6.3-e21ee54bc796-linux-2.6-amd64.deb]: invalid source url: puppet:///modules/mymodule/mypath/splunk/linux/splunk-6.6.3-e21ee54bc796-linux-2.6-amd64.deb at /etc/puppetlabs/code/environments/myenv/modules-thirdparty/splunk/manifests/init.pp:84
Using:
class { '::splunk::params':
version => '6.6.3',
build => 'e21ee54bc796',
src_root => 'puppet:///modules/mymodule/mypath',
}
But can confirm file residing in correct place by running the below on puppet server:
puppet apply -e "file {'/tmp/wibble': source => 'puppet:///modules/mymodule/mypath/splunk/linux/splunk-6.6.3-e21ee54bc796-linux-2.6-amd64.deb',}" --environment myenv
Notice: Compiled catalog for myserver in environment myenv in 0.07 seconds
Notice: /Stage[main]/Main/File[/tmp/wibble]/ensure: defined content as '{md5}dabf657da3f7c4023c07f25857db65c4'
Notice: Applied catalog in 2.62 seconds
from puppet-splunk.
Still interested in getting this working, if there are any pointers I'd much appreciate.
from puppet-splunk.
Update:
With help of a colleague, we updated our Puppetfile to honour the version requirements in metadata.json - However we still had issues, this was resolved by removing some in-house written ruby splunk library modules, that we presumed the names were colliding.
from puppet-splunk.
Related Issues (20)
- Facter splunk version HOT 2
- pass4SymmKey not read properly HOT 1
- puppet will create outputs.conf and delete it immediately which causes splunk to restart every puppet run
- child class splunk::forwarder::password::seed has a typo in the fact HOT 1
- net-tools 'installed' over and over, but is really installing splunkforwarder HOT 4
- Forwarder service won't start due to incorrect permissions HOT 2
- Corrupt MSI installer HOT 3
- Unable to disable archive creation in splunk::forwarder.
- default location of splunk.secret is wrong? HOT 2
- seed_password seems to ignore the enforced order, causing installation to fail. HOT 1
- Can you promote a new version to puppet forge? HOT 2
- splunk::enterprise - "has no parameter" manage_net_tools HOT 2
- Support for Splunk 8.x and RHEL 8 HOT 2
- Warning: Secrets file NOT found HOT 1
- `purge_inputs => true` leaves artifacts in `inputs.conf` HOT 3
- SPLUNK_OS_USER is being sets a splunk regardless of $splunk_user value HOT 1
- Splunk 9.0.5+ Package Not Found on RedHat x86_64
- Question on monitoring journald HOT 2
- Wrong Splunk Forwarder user on Windows HOT 2
- adding a section without any settings does not work, this is needed for the replication port
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 puppet-splunk.