You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened?
The plugin was installed from sensu-plugins/sensu-plugins-mysql instead of my repo nagyt234.
What did you expect to happen?
The plugin should be installed from https://github.com/nagyt234/sensu-plugins-mysql.git as stated in sensu-puppet/lib/puppet/provider/package/sensu_gem.rb
How can someone reproduce the problem?
Try the command above.
Command used and debugging output
What does your puppet config look like (including any hiera config)
Is this a masterless or master based puppet setup?
Platform and version information
Your OS: Ubuntu 16.04
Your Ruby version: 2.2.2
Your version of Puppet: 4.10.4, puppetlabs-stdlib 4.25.1
Your version of Sensu: 0.26.5-2
Your version of this module: 2.42.0
Anything else to add that you think will be helpful?
The text was updated successfully, but these errors were encountered:
The sensu_gem provider inherits most behavior from Puppet's gem provider. The only thing changed by sensu_gem is where to find the actual gem command and how to handle uninstalls. My read of Puppet's gem provider (https://github.com/puppetlabs/puppet/blob/5.5.x/lib/puppet/provider/package/gem.rb#L127) is that source should work the way your attempting to use it. Can you uninstall the improperly installed gem and re-run puppet with --debug? I'm curious to see if your provided source is making it to the gem command.
I ran locally in Vagrant and looks like the desired behavior is taking place:
@nagyt234 Closing as @treydock shows this is not still an issue in his testing. If this is closed in error and this issue is still happening, please re-open it and we'll be happy to work with you on it.
Description of problem
I tried to install sensu-plugins-mysql from my forked gihub reposityr with the following command:
The plugin was installed from
sensu-plugins/sensu-plugins-mysql
instead of my reponagyt234
.The plugin should be installed from
https://github.com/nagyt234/sensu-plugins-mysql.git
as stated insensu-puppet/lib/puppet/provider/package/sensu_gem.rb
Try the command above.
Command used and debugging output
Platform and version information
Anything else to add that you think will be helpful?
The text was updated successfully, but these errors were encountered: