summaryrefslogtreecommitdiff
path: root/ambari-agent
diff options
context:
space:
mode:
authorMahadev Konar <mahadev@apache.org>2012-10-02 23:34:43 +0000
committerMahadev Konar <mahadev@apache.org>2012-10-02 23:34:43 +0000
commit61678ba4432c4d883d88efe477dea6df49793713 (patch)
tree5fe89471f6f45b6a7fedca104f526efa9a102dbf /ambari-agent
parenta992578aafee3d83bf107824ba9f5bce7fb63f0d (diff)
AMBARI-788. Fix server and agent startup for end to end testing. (mahadev)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/AMBARI-666@1393236 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'ambari-agent')
-rw-r--r--ambari-agent/src/main/python/ambari_agent/AmbariConfig.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py b/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
index b4d7f1a4e5..46f532add6 100644
--- a/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
+++ b/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
@@ -25,8 +25,10 @@ import StringIO
config = ConfigParser.RawConfigParser()
content = """
+
[server]
-url=http://localhost:4080
+url=https://localhost:4080
+secured_url=https://localhost:8443
[agent]
prefix=/tmp/ambari
@@ -43,9 +45,9 @@ maxretries=2
sleepBetweenRetries=1
[security]
-keysdir="/tmp/"
+keysdir=/tmp/ambari-agent
server_crt=ca.crt
-passphrase_env_name=AMBARI_PASSPHRASE
+passphrase_env_var_name=AMBARI_PASSPHRASE
"""
s = StringIO.StringIO(content)
config.readfp(s)