libraries/resource_providers/image_streamer/api300/artifact_bundle_provider.rb
def create_if_missing
          load_expected_resources(:BuildPlan, @new_resource.os_build_plans)
          load_expected_resources(:DeploymentPlan, @new_resource.deployment_plans)
          load_expected_resources(:GoldenImage, @new_resource.golden_images)
          load_expected_resources(:PlanScript, @new_resource.plan_scripts)
          super
        end
# Call the 'add_<resource_type>' methods for based on the resource_type passed in to allow using names
# @param [String, Symbol] resource_type Type of resource to be loaded. e.g., :GoldenImage, :FCNetwork.
# @param [Array] resource_array Array containing the names of the resources and whether they are readonly or not. e.g., [{'DP', false}]
# @param [String] add_method String containing the name of the method which adds the arrays of resources to the artifact bundle.
Call the 'add_' methods for based on the resource_type passed in to allow using names
Call the ' add_ ' methods for based on the resource_type passed in to allow using names
def create_if_missing
          load_expected_resources(:BuildPlan, @new_resource.os_build_plans)
          load_expected_resources(:DeploymentPlan, @new_resource.deployment_plans)
          load_expected_resources(:GoldenImage, @new_resource.golden_images)
          load_expected_resources(:PlanScript, @new_resource.plan_scripts)
          super
        end
def create_if_missing load_expected_resources ( :BuildPlan , @new_resource . os_build_plans ) load_expected_resources ( :DeploymentPlan , @new_resource . deployment_plans ) load_expected_resources ( :GoldenImage , @new_resource . golden_images ) load_expected_resources ( :PlanScript , @new_resource . plan_scripts ) super end
Call the 'add_<resource_type>' methods for based on the resource_type passed in to allow using names
Call the ' add_<resource_type > ' methods for based on the resource_type passed in to allow using names
add_method String containing the name of the method which adds the arrays of resources to the artifact bundle.
add_method String containing the name of the method which adds the arrays of resources to the artifact bundle .