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

Cannot retrieve installer from Puppet Master #257

Open
chip-b opened this issue Sep 23, 2019 · 0 comments
Open

Cannot retrieve installer from Puppet Master #257

chip-b opened this issue Sep 23, 2019 · 0 comments

Comments

@chip-b
Copy link

chip-b commented Sep 23, 2019

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

Output log

agent-t.log

Any additional information you'd like to impart

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