commit | 93f066cf7d08b8199f142ed17e5039280851bf18 | [log] [tgz] |
---|---|---|
author | Dennis Dmitriev <ddmitriev@mirantis.com> | Mon Jul 17 18:39:41 2017 +0300 |
committer | Dennis Dmitriev <ddmitriev@mirantis.com> | Mon Jul 17 18:39:41 2017 +0300 |
tree | 43a1431db9df0b80cb5adddba3a4f184bc7f94ce | |
parent | 7de2476c3deaa8174e112f1fd903cbaeb5d62010 [diff] |
Use 'common.yml' as environment-specific values provider to nodes Change-Id: I81a6d6cc48e52f4679b1b3b05e43cf8b0a3af42b
diff --git "a/examples/environment/\173\173 cookiecutter.cluster_name \175\175/common.yml" "b/examples/environment/\173\173 cookiecutter.cluster_name \175\175/common.yml" new file mode 100644 index 0000000..cbf1423 --- /dev/null +++ "b/examples/environment/\173\173 cookiecutter.cluster_name \175\175/common.yml"
@@ -0,0 +1,7 @@ +parameters: + _param: + # Put any environment-specific variables here + + linux: + network: + interface: ${_param:linux_network_interfaces}
diff --git "a/examples/environment/\173\173 cookiecutter.cluster_name \175\175/init.yml" "b/examples/environment/\173\173 cookiecutter.cluster_name \175\175/init.yml" index f7a1b70..6153a6b 100644 --- "a/examples/environment/\173\173 cookiecutter.cluster_name \175\175/init.yml" +++ "b/examples/environment/\173\173 cookiecutter.cluster_name \175\175/init.yml"
@@ -19,5 +19,5 @@ {{ toyaml( node['parameters']['linux']['network']['interface'], width=14 ) }} {%- endif %} classes: - - environment.{{ cookiecutter.cluster_name }}.networking + - environment.{{ cookiecutter.cluster_name }}.common {%- endfor %}
diff --git "a/examples/environment/\173\173 cookiecutter.cluster_name \175\175/networking.yml" "b/examples/environment/\173\173 cookiecutter.cluster_name \175\175/networking.yml" deleted file mode 100644 index 1ef4d17..0000000 --- "a/examples/environment/\173\173 cookiecutter.cluster_name \175\175/networking.yml" +++ /dev/null
@@ -1,4 +0,0 @@ -parameters: - linux: - network: - interface: ${_param:linux_network_interfaces}