Open
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 3.8.7
- Ruby: ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
- Distribution: Linux Ubuntu 14.04.5 LTS
- Module version: 5.0.1
How to reproduce (e.g Puppet code you use)
Puppet code:
include '::splunk'
include '::splunk::forwarder'
Hiera value:
splunk::params::version: '6.5.0'
splunk::params::build: '59c8927def0f'
splunk::params::src_root: 's3://rg-infrastructure/splunk_install'
splunk::params::server: 'siem'
What are you seeing
Error message:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Class[Splunk::Platform::Posix] is already declared; cannot redeclare at /var/lib/rg_data/puppet/environments/production/modules/splunk/manifests/forwarder.pp:133 on node siem
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
What behaviour did you expect instead
No error message