# This is a helper recipe executing an action of the resource # Usage: # - name: # run_list: # - recipe[aws-parallelcluster-tests::test_resource] # attributes: # resource: '[:] [{"resource_property_1_name" : "", "": ""}]' # # Examples # # - name: resource_with_defaults # run_list: # - recipe[aws-parallelcluster-tests::test_resource] # attributes: # resource: resource_name # # - name: resource_with_action # run_list: # - recipe[aws-parallelcluster-tests::test_resource] # attributes: # resource: resource_name:action # # - name: resource_with_properties # run_list: # - recipe[aws-parallelcluster-tests::test_resource] # attributes: # resource: 'resource_name {"property1": "x", "property2": "y"}' # test_resource 'resource' do descriptor node['resource'] end