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 C05B2200B41 for ; Thu, 7 Jul 2016 18:09:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BF081160A68; Thu, 7 Jul 2016 16:09:53 +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 14C8F160A4F for ; Thu, 7 Jul 2016 18:09:52 +0200 (CEST) Received: (qmail 36216 invoked by uid 500); 7 Jul 2016 16:09:52 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 36197 invoked by uid 99); 7 Jul 2016 16:09:51 -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, 07 Jul 2016 16:09:51 +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 85FA8C0447 for ; Thu, 7 Jul 2016 16:09:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id gY4OrpyxkzHv for ; Thu, 7 Jul 2016 16:09:47 +0000 (UTC) Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id E86035FAE1 for ; Thu, 7 Jul 2016 16:09:46 +0000 (UTC) Received: by mail-vk0-f54.google.com with SMTP id d67so26414081vkh.1 for ; Thu, 07 Jul 2016 09:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=puB0+Tafc5ZbPasN34MSLEz6mgmKkrDvT6RHEmEpyWY=; b=DbpOW6UHzCB7zpHSpUROtP6+U5oDuLRfNZJY5rtn2M/9Vm503JIrJUPFQor7lwx6Ja VJbrMFciaIbfIt08P5w2/Bh1zt1fBCYDiIym70VC6IzpBXPOtaRqKlySwPCLg1BdFSUh +lokFMrIeV173Mbe8aNXSBxJ01beXGFXeKpPNEyAwGFPND8DGHYc8AXLoSQsuj+4iQOV PA4kZUworGeUK4oFBIPuyPuIlxw29yHnXh8+79CacqYVuT+qEjz4O6exToIDkaJ74XRg 808iu8JNP90S9MQfMh1gFxqwDqo08zE3jcjU5AdDApE6JLznvSq5Py6yE4KgCTZ+qC2N RmeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=puB0+Tafc5ZbPasN34MSLEz6mgmKkrDvT6RHEmEpyWY=; b=I9qg5mM+iaX5NnndexaHhhO08cmH/QN6rFjK1Tabw0ujf2C1kjPILP/PGXCn9VxJRX fsYSgjU7yAOwT24SkgUKPVticiXBJdyoJH3/rr1JwgcU5DLaRjAUMrZD1k0fHEglZBVF jNUtkT+RnRuojOZFUwN1U7vaYAb3sOcCMtM81aCbVRg09uWr/9cybVLwWxN6rcnJG7Lj 7mqjnSoTGYj/4dUP6sFfFW6Lh2hlouMF2PC+W1+LGZGZGkiBjPOfetZaUQp5y39f3d0o N6j7/GEGANP9295E7TtgM8aqeb6AnC44dQzREGMAFY6rgF672l1dJDTgoNkJyQbVy/mS ++Lw== X-Gm-Message-State: ALyK8tK+vymkaxRDzbFA46iLAOOBQMh/dxXp27SDBvE8yrUyyHz/BGoEnbaUnfDwwL76w1c3hsYFf3XgzFP+iw== X-Received: by 10.176.65.71 with SMTP id j65mr477642uad.103.1467907785655; Thu, 07 Jul 2016 09:09:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.40.132 with HTTP; Thu, 7 Jul 2016 09:09:45 -0700 (PDT) In-Reply-To: References: From: Mithun Mathew Date: Thu, 7 Jul 2016 09:09:45 -0700 Message-ID: Subject: Re: How to pass install parameters to packages (rpm/deb) To: Ambari Content-Type: multipart/alternative; boundary=94eb2c124708208c5605370dea21 archived-at: Thu, 07 Jul 2016 16:09:53 -0000 --94eb2c124708208c5605370dea21 Content-Type: text/plain; charset=UTF-8 Hi Priyanka I'm not exactly sure whether I understand your question completely. There is a params.py which does Script.get_config() - this would return a dictionary of all the configurations that you see on the Ambari UI. Hope this helps... Regards Matt On Wed, Jul 6, 2016 at 1:52 AM, priyanka gugale wrote: > Are the config parameters are passed as environment variables, so that the > pre-install scripts of packages can access these parameters? > > -Priyanka > > On Fri, Jul 1, 2016 at 12:05 PM, priyanka gugale > wrote: > > > I am trying to understand how these config parameters are useful during > > installation? Also if one edits any config post install, how does that > take > > effect on installed product? > > > > -Priyanka > > > > On Thu, Jun 30, 2016 at 10:20 PM, priyanka gugale > > wrote: > > > >> Hi, > >> > >> Ambari provides a way to provide configuration parameters from UI. If I > >> want to pass these parameters to install package like rpm/deb how I can > >> achieve this? > >> > >> -Priyanka > >> > > > > > -- *Mithun Mathew* (Matt) - www.linkedin.com/in/mithunmatt/ --94eb2c124708208c5605370dea21--