Unclear how that would work.  Example?

On Thursday, October 16, 2014 6:49:13 PM UTC-4, Mark Walkom wrote:
>
> You could try using an if statement in your env variable?
>
> On 17 October 2014 06:50, Matt Hughes <[email protected] <javascript:>> 
> wrote:
>
>>
>>
>> I have parameterized my elasticsearch.yml file like so:
>>
>> node.name: ${NODE_NAME}
>>
>> This let's me pass in NODE_NAME as an environment variable when running 
>> ES.  I was *hoping* that if NODE_NAME was undefined, ES would fall back to 
>> the default of picking a dynamic name, but it just dies.  Is there any way 
>> to specify an *optional* syntax for env variables?
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/e2c1ae6c-0e30-423b-9e11-82a3b2d83bd2%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/elasticsearch/e2c1ae6c-0e30-423b-9e11-82a3b2d83bd2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/ceaa6957-c26d-4dc6-99f8-6a997aef1d94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to