brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geomacy <...@git.apache.org>
Subject [GitHub] brooklyn-docs pull request #80: Document shell.env json serialization behavi...
Date Thu, 23 Jun 2016 13:14:38 GMT
Github user geomacy commented on a diff in the pull request:

    https://github.com/apache/brooklyn-docs/pull/80#discussion_r68231455
  
    --- Diff: guide/yaml/example_yaml/vanilla-bash-netcat-env.yaml ---
    @@ -0,0 +1,12 @@
    +name: Netcat Example with Environment Vars
    +location: localhost
    +services:
    +- type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess
    +  name: Simple Netcat Server
    +  launch.command: |
    +    echo $MESSAGE | nc -l $NETCAT_PORT &
    +    echo $! > $PID_FILE
    +    
    +  env:
    +    MESSAGE: hello
    --- End diff --
    
    maybe worth adding a $brooklyn.config(....) in as the value, to emphasise the reusability
mentioned in the .md, here and in the port.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message