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 package provider for improved plugin handling #178 #332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TuningYourCode
Copy link

Pull Request (PR) description

This PR provides a package provider to manage grafana plugins as the current grafana_plugin resource does not offer all functions like installation of specific plugin versions or keeping plugins up to date with ensure => latest.

This functionality is now given by using

package { 'grafana-image-renderer':
  ensure => 'latest',
  provider => 'grafana',
}

or

package { 'grafana-image-renderer':
  ensure => '2.0.0',
  provider => 'grafana',
}

This Pull Request (PR) fixes the following issues

Fixes #178

Replaces #263

apply_manifest(pp, catch_changes: true)
end

describe package('grafana-image-renderer').provider(:grafana) do
Copy link
Author

Choose a reason for hiding this comment

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

anybody experienced enough to write this test correctly? Already hat it like describe package('grafana-image-renderer') do but was also failing (probably because it doesn't set provider to grafana?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: version support in plugin module
2 participants