class LicenseAcceptance::ProductReader
def get_location
def get_location # For local development point this to the product_info.toml at the root of the repo. # When bundled as a gem we will use the the relative path to find the file in the # gem package. if ENV["CHEF_LICENSE_PRODUCT_INFO"] return ENV["CHEF_LICENSE_PRODUCT_INFO"] end File.absolute_path(File.join(__FILE__, "../../../config/product_info.toml")) end