diff --git a/lib/facter/jenkins.rb b/lib/facter/jenkins.rb index 60af7209a..c9d0522a2 100644 --- a/lib/facter/jenkins.rb +++ b/lib/facter/jenkins.rb @@ -10,7 +10,6 @@ Facter.add(:jenkins_plugins) do confine kernel: 'Linux' setcode do - plugins = Puppet::Jenkins::Plugins.available - plugins.keys.sort.map { |plugin| "#{plugin} #{plugins[plugin][:plugin_version]}" }.join(', ') + Puppet::Jenkins::Plugins.available end -end +end \ No newline at end of file