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

Add conditional logic for using the staging module #36

Merged
merged 2 commits into from
Mar 17, 2016

Conversation

Ziaunys
Copy link
Contributor

@Ziaunys Ziaunys commented Mar 16, 2016

  • If the provider is yum or apt we don't need to use the staging module
    and this logic exists in splunk::forwarder.
  • Removes an unnecessary include of the staging module.

Nick Perry added 2 commits March 15, 2016 16:54
- If the provider is yum or apt we don't need to use the staging module
  and this logic exists in splunk::forwarder.
source => $package_source,
subdir => $staging_subdir,
before => Package[$package_name],
if $pkg_provider != undef and $pkg_provider != 'yum' and $pkg_provider != 'apt' {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just go ahead and change this to if $pkg_provider == 'rpm' or $pkg_provider == 'deb' ? I wonder if anyone uses this on windows too, since it has some windows stuff in the module. Perhaps the msi provider?

hunner added a commit that referenced this pull request Mar 17, 2016
Add conditional logic for using the staging module
@hunner hunner merged commit 93bef89 into voxpupuli:master Mar 17, 2016
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

Successfully merging this pull request may close these issues.

2 participants