Skip to content

Warning unknown variable 'staged_package' when yum is used as package provider #169

Open
@rmestrum

Description

@rmestrum

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet 4.10.8:
  • Ruby: 2.1.9p490
  • Distribution: RHEL 6.7
  • Module version: 7.1.0

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

  class {'::splunk::forwarder':
    pkg_provider => 'yum',
  }

What are you seeing

Puppet gives the following warning:

Warning: Unknown variable: 'staged_package'. at /etc/puppetlabs/code/environments/production/modules/splunk/manifests/forwarder.pp:93:28

What behaviour did you expect instead

No warning.

Output log

Any additional information you'd like to impart

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions