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

Evaluation Error: Unknown variable: 'splunk::params::forwarder_install_options' #97

Closed
alexqyle opened this issue Mar 10, 2017 · 2 comments

Comments

@alexqyle
Copy link

alexqyle commented Mar 10, 2017

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.9.2
  • Ruby: 2.3.1
  • OS: Ubuntu 16.04
  • Module version: 5.1.0

How to reproduce (e.g Puppet code you use)

  class { '::splunk::params':
    server   => hiera(my_splunk_server),
    version  => hiera(my_splunk_version),
    build    => hiera(my_splunk_build),
    src_root => hiera(my_splunk_src_root),
  }

  class { '::splunk::forwarder':
  }

What are you seeing

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Unknown variable: 'splunk::params::forwarder_install_options'.

What behaviour did you expect instead

Compile without error

Output log

Any additional information you'd like to impart

Need to put forwarder_install_options as class parameter for params and assign undef as default value or assign undef for different kernels other than Windows to avoid this compile error.

@bastelfreak
Copy link
Member

Hi @shadow999, thanks for the PR. Are you able to provide a Pull Request for this? Feel free to joint #voxpupuli on freenode (IRC) if you have any questions. We are around 24/7.

@alexqyle
Copy link
Author

#99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants