brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] brooklyn-docs pull request #80: Document shell.env json serialization behavi...
Date Wed, 26 Oct 2016 06:10:03 GMT
Github user neykov commented on a diff in the pull request:

    https://github.com/apache/brooklyn-docs/pull/80#discussion_r85054519
  
    --- 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 --
    
    Parameters and DSL are introduced in the next section. Want to keep it short and simple
and up to the point here.


---
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