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 22DC3200C55 for ; Thu, 13 Apr 2017 13:39:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 21964160BA7; Thu, 13 Apr 2017 11:39:46 +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 68D08160B8B for ; Thu, 13 Apr 2017 13:39:45 +0200 (CEST) Received: (qmail 82025 invoked by uid 500); 13 Apr 2017 11:39:44 -0000 Mailing-List: contact dev-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ariatosca.incubator.apache.org Delivered-To: mailing list dev@ariatosca.incubator.apache.org Received: (qmail 82013 invoked by uid 99); 13 Apr 2017 11:39:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Apr 2017 11:39:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 27FD4C0B3C for ; Thu, 13 Apr 2017 11:39:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id hFgJrqce8ppT for ; Thu, 13 Apr 2017 11:39:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BB12D5FCAC for ; Thu, 13 Apr 2017 11:39:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4DB91E0D40 for ; Thu, 13 Apr 2017 11:39:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id AF33B2406E for ; Thu, 13 Apr 2017 11:39:41 +0000 (UTC) Date: Thu, 13 Apr 2017 11:39:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@ariatosca.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARIA-92) Execution plugin operations default mappings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 13 Apr 2017 11:39:46 -0000 [ https://issues.apache.org/jira/browse/ARIA-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967457#comment-15967457 ] ASF GitHub Bot commented on ARIA-92: ------------------------------------ Github user ran-z commented on a diff in the pull request: https://github.com/apache/incubator-ariatosca/pull/95#discussion_r111368446 --- Diff: tests/resources/service-templates/tosca-simple-1.0/node-cellar/node-cellar.yaml --- @@ -98,8 +98,8 @@ topology_template: #token: { get_property: [ HOST, flavor_name ] } interfaces: Maintenance: - enable: juju > charm.maintenance_on - disable: juju > charm.maintenance_off + enable: juju \> charm.maintenance_on --- End diff -- :+1: > Execution plugin operations default mappings > -------------------------------------------- > > Key: ARIA-92 > URL: https://issues.apache.org/jira/browse/ARIA-92 > Project: AriaTosca > Issue Type: Story > Reporter: Ran Ziv > Assignee: Tal Liron > > The execution plugin serves as the default plugin, i.e. if no other plugin was specified, it'll be used to execute scripts in operations. > These scripts will currently only execute locally. The execution plugin also supports running scripts on remote machines (via SSH). > One option is to have the parser recognize whether the node in question is contained inside a host node, in which case the script should be executed remotely (by default, yet overridable by specifying the full plugin operation mapping), and if not then it should be executed locally. > Another option is to have the user specify it using special syntax, e.g.: > "local > script.sh" and "remote > script.sh" -- This message was sent by Atlassian JIRA (v6.3.15#6346)