Giter VIP home page Giter VIP logo

Comments (6)

vandelin586 avatar vandelin586 commented on August 15, 2024

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.

john275 avatar john275 commented on August 15, 2024

Unfortunately not, but good spot vandelin586, I was hopeful that would be it. I have my deb package at:

http://somebucket.s3-website-eu-west-1.amazonaws.com/products/splunk/releases/6.6.3/linux/splunk-6.6.3-e21ee54bc796-linux-2.6-amd64.deb

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.

john275 avatar john275 commented on August 15, 2024

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.

john275 avatar john275 commented on August 15, 2024

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.

john275 avatar john275 commented on August 15, 2024

Still interested in getting this working, if there are any pointers I'd much appreciate.

from puppet-splunk.

john275 avatar john275 commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.