senlin/examples/profiles
2015-02-04 11:15:06 +08:00
..
env.yaml Removed username from environment parameters 2015-02-04 11:15:06 +08:00
heat_stack_random_string.spec Removed parameters section from spec 2015-01-31 22:36:48 +08:00
random_string_stack.yaml Fixed errors in sample stack template 2015-01-31 22:35:50 +08:00
README.rst Example spec for creating profile of os.heat.stack type 2015-01-26 22:27:35 +08:00
test_script.sh Example spec for creating profile of os.heat.stack type 2015-01-26 22:27:35 +08:00

How To Use the Sample Spec File

This directory contains a sample spec file that can be used to create a profile of type 'os.heat.stack'. It demonstrates how to use environment files when creating a profile and how to assign default parameters for the stack to use. In addition to that, it shows an example about making use of the 'get_file' function supported by Heat.

To create a profile using the spec, use the following command:

senlin profile-create \
  -t os.heat.stack \
  -s heat_stack_random_string.spec \
  -p 1111
  my_stack

To get help on the command line options for creating profiles:

senlin profile-create

To show the profile created:

senlin profile-show <profile_id>