Scott Baker | 418f247 | 2016-06-28 11:57:08 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Adds volume to make the cord branding config file available |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | xos: |
| 11 | type: tosca.nodes.XOS |
| 12 | properties: |
| 13 | no-create: True |
| 14 | no-delete: True |
| 15 | no-update: True |
| 16 | |
| 17 | /opt/xos/xos_configuration/xos_cord_config: |
| 18 | type: tosca.nodes.XOSVolume |
| 19 | properties: |
| 20 | host_path: { path_join: [ SELF, CONFIG_DIR, ../cord-pod/xos_cord_config, ENV_VAR ] } |
| 21 | read_only: false |
| 22 | requirements: |
| 23 | - xos: |
| 24 | node: xos |
| 25 | relationship: tosca.relationships.UsedByXOS |