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

Solaris installs point to an old package, and have a dependency on net-tools #272

Closed
greenhulkmatt opened this issue Jan 9, 2020 · 0 comments · Fixed by #335
Closed

Comments

@greenhulkmatt
Copy link

greenhulkmatt commented Jan 9, 2020

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet:
  • Ruby:
  • Distribution:
  • Module version: 7.3.0

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

if $facts['osfamily'] == 'Solaris' {
     class { '::splunk::params' :
       build => $solaris_build,
     }
 }

 class { '::splunk::forwarder' :
   package_ensure => 'latest',
 }

What are you seeing

The package version that the module selects is /opt/staging/splunk/splunkforwarder-7.3.1.1-8e225e1518e2-solaris-8-sparc.pkg

The -solaris-8-sparc.pkg is set in this case statement in params.pp

    'Solaris sun4v': {
      $package_suffix          = "${version}-${build}-solaris-8-sparc.pkg"
      $forwarder_package_name  = 'splunkforwarder'
      $enterprise_package_name = 'splunk'
    }

Unless I am missing it there are not any solaris-8-sparc.pkg files provided by splunk since the 6.2.6 version.

Also, for the SunOS kernel the module requires a net-tools package, which is not required for Solaris as far as I can tell. (Feel free to correct me if I am mistaken here).

What behaviour did you expect instead

I expected the module to select the appropriate package for Solaris 10 and 11
For Solaris 10: -solaris-10-sparc.pkg.Z
For Solaris 11: -solaris-11-sparc.p5p

I also expected the net-tools requirement to not be enforced on Solaris hosts.

Output log

Any additional information you'd like to impart

davemcdonnell added a commit to davemcdonnell/puppet-splunk that referenced this issue Jun 24, 2022
davemcdonnell added a commit to davemcdonnell/puppet-splunk that referenced this issue Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants