From 30fe995a57b17601e391284efdaa30b4b81f4522 Mon Sep 17 00:00:00 2001 From: Andy Royle Date: Wed, 1 Mar 2017 17:15:30 +0000 Subject: [PATCH] use gem.cmd instead of gem.bat --- lib/puppet/provider/package/sensu_gem.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/provider/package/sensu_gem.rb b/lib/puppet/provider/package/sensu_gem.rb index a6f3b6d692..aa12247650 100644 --- a/lib/puppet/provider/package/sensu_gem.rb +++ b/lib/puppet/provider/package/sensu_gem.rb @@ -13,7 +13,7 @@ commands :gemcmd => if RUBY_PLATFORM =~ /cygwin|mswin|mingw|bccwin|winse|emx/ - "#{ENV['SYSTEMDRIVE']}\\opt\\sensu\\embedded\\bin\\gem.bat" + "#{ENV['SYSTEMDRIVE']}\\opt\\sensu\\embedded\\bin\\gem.cmd" else "/opt/sensu/embedded/bin/gem" end