voxpupuli / puppet-grafana

Puppet module to manage Grafana
Apache License 2.0
15 stars 106 forks source link

Add package provider for improved plugin handling #178 #332

Open TuningYourCode opened 1 year ago

TuningYourCode commented 1 year ago

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 https://github.com/voxpupuli/puppet-grafana/pull/263