puppet-splunk
puppet-splunk copied to clipboard
Cannot retrieve installer from Puppet Master
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: PE 2019.1.1
- Ruby: 2.4.5
- Distribution: RHEL
- Module version: 7.3.0
How to reproduce (e.g Puppet code you use)
Class: splunk_install
class splunk_install ( $splunk_operating_system = splunk_install::params::splunk_operating_system, $splunk_deploymentclient_conf_template = splunk_install::params::splunk_deploymentclient_conf_template, $splunk_local_directory = splunk_install::params::splunk_local_directory, $splunk_deploymentclient_conf = splunk_install::params::splunk_deploymentclient_conf, $splunk_deployment_server = splunk_install::params::splunk_deployment_server, ) {
Class: '::splunk::params':
class {'::splunk::params': version => '7.3.0', build => '657388c7a488', src_root => 'puppet:///modules/splunk_install', }
Class: '::splunk::forwarder':
class {'::splunk::forwarder': package_ensure => 'latest', } if $splunk_operating_system == 'windows' { warning('Puppet does not support the installation of the Splunk Forwarding Agent on Microsoft Windows. Please use SCCM.') } else { include ::splunk::forwarder splunkforwarder_deploymentclient {'deployment-client': section => 'deployment-client', } splunkforwarder_deploymentclient {'target-broker:deploymentServer': section => 'target-broker:deploymentServer', setting => 'targetUri', value => 'bsw-srv-spl02.bswift.net:8089', } } }
What are you seeing
| 9/23/2019 14:36 | notice | Applied catalog in 0.63 seconds |
|---|---|---|
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | warning | Skipping because of failed dependencies |
| 9/23/2019 14:36 | notice | Dependency Archive[/opt/staging/splunk/splunkforwarder-7.3.0-657388c7a488-linux-2.6-x86_64.rpm] has failures: true |
| 9/23/2019 14:36 | err | change from 'absent' to 'present' failed: Could not set 'present' on ensure: Could not retrieve information from environment production source(s) puppet:///modules/splunk_install/products/universalforwarder/releases/7.3.0/linux/splunkforwarder-7.3.0-657388c7a488-linux-2.6-x86_64.rpm' (file: /etc/puppetlabs/code/environments/dev/modules/splunk/manifests/forwarder.pp, line: 89) |
| 9/23/2019 14:36 | err | Could not set 'present' on ensure: Could not retrieve information from environment production source(s) puppet:///modules/splunk_install/products/universalforwarder/releases/7.3.0/linux/splunkforwarder-7.3.0-657388c7a488-linux-2.6-x86_64.rpm' (file: /etc/puppetlabs/code/environments/dev/modules/splunk/manifests/forwarder.pp, line: 89) |
| 9/23/2019 14:36 | err | Could not set 'present' on ensure: Could not retrieve information from environment production source(s) puppet:///modules/splunk_install/products/universalforwarder/releases/7.3.0/linux/splunkforwarder-7.3.0-657388c7a488-linux-2.6-x86_64.rpm' (file: /etc/puppetlabs/code/environments/dev/modules/splunk/manifests/forwarder.pp, line: 89) Wrapped exception: Could not retrieve information from environment production source(s) puppet:///modules/splunk_install/products/universalforwarder/releases/7.3.0/linux/splunkforwarder-7.3.0-657388c7a488-linux-2.6-x86_64.rpm' |
| 9/23/2019 14:35 | notice | Local environment: 'production' doesn't match server specified node environment 'dev', switching agent to 'dev'. |
What behaviour did you expect instead
Splunk forwarder should install