Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CB8DE200BB7 for ; Wed, 26 Oct 2016 08:10:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CA29D160AFA; Wed, 26 Oct 2016 06:10:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 14C0B160AD8 for ; Wed, 26 Oct 2016 08:10:04 +0200 (CEST) Received: (qmail 7853 invoked by uid 500); 26 Oct 2016 06:10:04 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 7842 invoked by uid 99); 26 Oct 2016 06:10:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2016 06:10:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B0C39DFDCF; Wed, 26 Oct 2016 06:10:03 +0000 (UTC) From: neykov To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org References: In-Reply-To: Subject: [GitHub] brooklyn-docs pull request #80: Document shell.env json serialization behavi... Content-Type: text/plain Message-Id: <20161026061003.B0C39DFDCF@git1-us-west.apache.org> Date: Wed, 26 Oct 2016 06:10:03 +0000 (UTC) archived-at: Wed, 26 Oct 2016 06:10:06 -0000 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. ---