From e0688357e3fe6ae00e52934969d3fe42083ba012 Mon Sep 17 00:00:00 2001 From: Nick Carboni Date: Fri, 17 Nov 2017 16:48:41 -0500 Subject: [PATCH] Merge pull request #16409 from juliancheal/add_product_name Added Product name to VMDB::Appliance (cherry picked from commit 64842b73d30b1f0aef849eca7392e4870ad719ce) --- lib/vmdb/appliance.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vmdb/appliance.rb b/lib/vmdb/appliance.rb index 204c2adc030..11879c9fb83 100644 --- a/lib/vmdb/appliance.rb +++ b/lib/vmdb/appliance.rb @@ -20,6 +20,10 @@ def self.log_config_on_startup Vmdb::Appliance.log_diagnostics end + def self.PRODUCT_NAME + I18n.t("product.name") + end + def self.log_config(*args) options = args.extract_options! fh = options[:logger] || $log