Skip to content
Permalink
Browse files
Extract Entity Config Override example to YAML file
  • Loading branch information
kemitix committed Aug 24, 2018
1 parent 37d8433 commit ca1cd3f6f52d752ec5cdf92af714050d14d8e4a0
Showing 2 changed files with 9 additions and 10 deletions.
@@ -103,16 +103,7 @@ consider the `entity-config-example` added to the catalog in the section
[Configuration in a Catalog Item](#configuration-in-a-catalog-item).
We can override these values. If not overridden, then the existing values from the super-type will be used:

```yaml
location: aws-ec2:us-east-1
services:
- type: entity-config-example
brooklyn.config:
custom.message: Goodbye
launch.command: |
echo "Sub-type launch command: $MESSAGE"
```

!CODEFILE "example_yaml/entity-config-override-app.yaml"


In this example, the `custom.message` overrides the default defined on the config key.
@@ -0,0 +1,8 @@
location: aws-ec2:us-east-1
name: entity-config-override-example
services:
- type: entity-config-example
brooklyn.config:
custom.message: Goodbye
launch.command: |
echo "Sub-type launch command: $MESSAGE"

0 comments on commit ca1cd3f

Please sign in to comment.