def get_platform_info(bhg_version, platform, hypervisor)
      info = get_osinfo(bhg_version)[platform]
      {}.deep_merge!(info[:general]).deep_merge!(info[hypervisor])
    end
def get_platform_info(bhg_version, platform, hypervisor)
      info = get_osinfo(bhg_version)[platform]
      {}.deep_merge!(info[:general]).deep_merge!(info[hypervisor])
    end
Returns the fully parsed map of information of the specified OS platform
 for the specified hypervisor. This map should be suitable for outputting
 to the user as it will have the intermediate organizational branches of
 the `get_osinfo` map removed.

 This is intended to be the primary way to access OS info from hypervisor
 implementations when generating host definitions.

 @param [Integer] bhg_version The version of OS info to use.

 @param [String] platform The OS platform to access from the OS info map.

 @param [Symbol] hypervisor The symbol representing which hypervisor submap
                 to extract from the general OS info map.

 @example Getting CentOS 6 64-bit information for the VMPooler hypervisor
     Given the OS info map looks like:
         ...
         'centos6-64' => {
           :general => { 'platform' => 'el-6-x86_64' },
           :vmpooler => { 'template' => 'centos-6-x86_64' }
         }
         ...

     Then get_platform_info(0, 'centos6-64', :vmpooler) returns:
         {
           'platform' => 'el-6-x86_64',
           'template' => 'centos-6-x86_64'
         }