Skip to content
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

splunkforwarder_server not working #121

Closed
TraGicCode opened this issue Jul 26, 2017 · 6 comments
Closed

splunkforwarder_server not working #121

TraGicCode opened this issue Jul 26, 2017 · 6 comments
Labels
bug Something isn't working

Comments

@TraGicCode
Copy link
Contributor

When trying to use splunkforwarder_server type i get the following error on both ubuntu 16.04 and windows 2016

Error: /Stage[main]/Profile::Linux::Splunk::Universalforwarder/Splunkforwarder_server[sslConfig/sslPassword]: Could not evaluate: file_path must be set with splunk_config type before provider can be used
Notice: /Stage[main]/Splunk::Virtual/Service[splunk]: Dependency Splunkforwarder_server[sslConfig/sslPassword] has failures: true
Warning: /Stage[main]/Splunk::Virtual/Service[splunk]: Skipping because of failed dependencies

Here is the code i'm using

  splunkforwarder_server { 'sslConfig/sslPassword':
    value   => '$1$Bj3FSJRCLtSH',
    tag   => 'splunk_forwarder'
  }

@nicholaspearson

@nicholaspearson
Copy link
Contributor

Guess I should probably fix this. I'll take a look tomorrow @TraGicCode 👍

@OlafFlorian
Copy link

the resource is missing in
lib/puppet/type/splunk_config.rb

@vandelin586
Copy link

vandelin586 commented Aug 25, 2017

The error I am getting
"Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'splunkforwarder_server'"

On cent os 7

@alexcreek
Copy link

yea it doesn't exist. there's a splunk_server but not a splunkforwarder_server :(

@OlafFlorian
Copy link

the config-file-resources, splunkforwarder_output, _input, _web and so on are defined in lib/puppet/type/splunk_config.rb, currently splunkforwarder_server is missing there.
Until this is fixed here you could add them manually.

@alexcreek
Copy link

here ya go #126

@TraGicCode TraGicCode added the bug Something isn't working label Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants