You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Jeff Zemerick <jz...@apache.org> on 2017/06/16 15:51:21 UTC

Ambari property value replacement

Hi all, I'm somewhat new to Ambari and I'm configuring a blueprint. I'm
wondering exactly how the {{values}} get replaced. For instance, I want to
specify a value for {{nifi_initial_admin_id}} in the blueprint. What is the
correct/best way to do this? Apologies if I missed this somewhere in the
documentation.

Thanks,
Jeff

Re: Ambari property value replacement

Posted by Jeff Zemerick <jz...@apache.org>.
Hi Alejandro,

I'm configuring a blueprint and I want to set a value for
{{nifi_initial_admin_id}} under nifi-authorizers-env's properties. I
started to just replace {{nifi_initial_admin_id}} with my value but I'm
sure that's not the best thing to do. So i was wondering how/where can I
set a value for {{nifi_initial_admin_id}} in my blueprint?

Thanks!
Jeff


On Fri, Jun 16, 2017 at 5:59 PM, Alejandro Fernandez <
afernandez@hortonworks.com> wrote:

> Hi Jeff,
>
> Config values can use {{var}} to dynamically replace var with the
> corresponding python variable, typically defined in params.py or
> params_linux.py that corresponds to that service.
> I hope this answers your question.
> What is the config type, property name, and full value you are trying to
> set?
>
> Thanks,
> Alejandro
>
> From: Jeff Zemerick <jz...@apache.org>
> Reply-To: "user@ambari.apache.org" <us...@ambari.apache.org>
> Date: Friday, June 16, 2017 at 8:51 AM
> To: "user@ambari.apache.org" <us...@ambari.apache.org>
> Subject: Ambari property value replacement
>
> Hi all, I'm somewhat new to Ambari and I'm configuring a blueprint. I'm
> wondering exactly how the {{values}} get replaced. For instance, I want to
> specify a value for {{nifi_initial_admin_id}} in the blueprint. What is the
> correct/best way to do this? Apologies if I missed this somewhere in the
> documentation.
>
> Thanks,
> Jeff
>

Re: Ambari property value replacement

Posted by Alejandro Fernandez <af...@hortonworks.com>.
Hi Jeff,

Config values can use {{var}} to dynamically replace var with the corresponding python variable, typically defined in params.py or params_linux.py that corresponds to that service.
I hope this answers your question.
What is the config type, property name, and full value you are trying to set?

Thanks,
Alejandro

From: Jeff Zemerick <jz...@apache.org>>
Reply-To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Date: Friday, June 16, 2017 at 8:51 AM
To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Subject: Ambari property value replacement

Hi all, I'm somewhat new to Ambari and I'm configuring a blueprint. I'm wondering exactly how the {{values}} get replaced. For instance, I want to specify a value for {{nifi_initial_admin_id}} in the blueprint. What is the correct/best way to do this? Apologies if I missed this somewhere in the documentation.

Thanks,
Jeff