ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satyanarayana Jampa <>
Subject hostname param for slave
Date Mon, 12 Sep 2016 09:59:37 GMT
    I have written a Ambari service which is a slave component.
    In this service, I have a template which is my configuration file. This file needs the
"hostname" as one of its field.
   Example template below:
        host = '<HOSTNAME>'
      accesslog = '/opt/purple/accesslog.out'
       errorlog = '/opt/purple/gunicorn.out'

    How can I get the HOSTNAME of the specific hosts on which the slave component is being
installed in to the template file.


View raw message