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

Ruby load error when using splunk::forwarder on Windows #110

Closed
natemccurdy opened this issue May 25, 2017 · 1 comment
Closed

Ruby load error when using splunk::forwarder on Windows #110

natemccurdy opened this issue May 25, 2017 · 1 comment

Comments

@natemccurdy
Copy link
Contributor

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.8.1 (PE 2016.5.1)
  • Ruby: 2.1.9
  • Distribution: Agent is Windows 2016, Master is RHEL 7
  • Module version: 5.1.0

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

class { 'splunk::params':
  server => 'splunk.foo.net',
}

class { 'splunk::forwarder':
  package_source => '\\foo.net\dfs\splunk_forwarder\splunkforwarder-6.3.3-f44afce176d0-x64-release.msi'
}

What are you seeing

PS C:\Users\natemccurdy> puppet agent -t --environment splunk_agent_install --noop
Info: Using configured environment 'plunk_agent_install'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Redefining firewalld_direct_rule in Puppet::Type
Warning: C:/ProgramData/PuppetLabs/puppet/cache/lib/puppet/type/network_config.rb:6: ipaddress gem was not found
Error: Could not autoload puppet/provider/network_config/interfaces: cannot load such file -- puppetx/filemapper
Error: Could not autoload puppet/type/splunk_config: Could not autoload puppet/provider/network_config/interfaces: canno
t load such file -- puppetx/filemapper
Error: Could not retrieve catalog from remote server: Could not intern from text/pson: Could not autoload puppet/type/sp
lunk_config: Could not autoload puppet/provider/network_config/interfaces: cannot load such file -- puppetx/filemapper
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

What behaviour did you expect instead

Splunk Forwarder MSI installed and configured with no error messages.

Any additional information you'd like to impart

This is a Ruby load issue that looks awfully familiar to #86

Actually, looking at it now, it seems that there just needs to be a new module version cut that includes #95 in it.

@natemccurdy
Copy link
Contributor Author

This has resolved in version v6.0.0

Thanks @petems !!!

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

1 participant