diff options
author | spisarski <s.pisarski@cablelabs.com> | 2017-12-29 09:21:05 -0700 |
---|---|---|
committer | spisarski <s.pisarski@cablelabs.com> | 2017-12-29 09:21:05 -0700 |
commit | c2529aa55013a8e7df7080c3bb9693c313fb9b67 (patch) | |
tree | 8149b2b0edea401bcbb84dcce108ff017ef6c9e7 /snaps/config/stack.py | |
parent | 58ae4e51e160ee243e2761e5bdaf42508d6097dc (diff) |
Added support for Heat resource files.
Change-Id: I936c0ef5570b5b417e4649504a817f0ca216812f
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'snaps/config/stack.py')
-rw-r--r-- | snaps/config/stack.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/snaps/config/stack.py b/snaps/config/stack.py index 0655961..fd427af 100644 --- a/snaps/config/stack.py +++ b/snaps/config/stack.py @@ -37,12 +37,18 @@ class StackConfig(object): if template attribute is None) :param env_values: dict() of strings for substitution of template default values (optional) + :param files: Supplies the contents of files referenced in the template + or the environment. This object must be a dict() of + strings where the key is the file URI or filename and the + value contains the file's contents (optional) """ self.name = kwargs.get('name') self.template = kwargs.get('template') self.template_path = kwargs.get('template_path') self.env_values = kwargs.get('env_values') + self.files = kwargs.get('files') + if 'stack_create_timeout' in kwargs: self.stack_create_timeout = kwargs['stack_create_timeout'] else: |