QChris has uploaded a new change for review.
https://gerrit.wikimedia.org/r/148628
Change subject: Fix typo when setting hive ports
......................................................................
Fix typo when setting hive ports
Due to the missing “=”, the port values were not rendered into the
instantiated templates.
Change-Id: I58e35be1f8984f91c997fde3fd8792a8d4b5cc81
---
M templates/hive/hive-metastore.default.erb
M templates/hive/hive-server2.default.erb
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet/cdh
refs/changes/28/148628/1
diff --git a/templates/hive/hive-metastore.default.erb
b/templates/hive/hive-metastore.default.erb
index 12be6c1..12fdeba 100644
--- a/templates/hive/hive-metastore.default.erb
+++ b/templates/hive/hive-metastore.default.erb
@@ -19,7 +19,7 @@
# Unfortunatelly, there is no way to specify the interfaces
# to which the daemon binds.
#
-<% @port ? "PORT=#{@port}" : '#PORT=' %>
+<%= @port ? "PORT=#{@port}" : '#PORT=' %>
<% if @heapsize -%>
HADOOP_HEAPSIZE=<%= @heapsize %>
diff --git a/templates/hive/hive-server2.default.erb
b/templates/hive/hive-server2.default.erb
index 0417a67..da35158 100644
--- a/templates/hive/hive-server2.default.erb
+++ b/templates/hive/hive-server2.default.erb
@@ -19,7 +19,7 @@
# Unfortunatelly, there is no way to specify the interfaces
# to which the daemon binds.
#
-<% @port ? "PORT=#{@port}" : '#PORT=' %>
+<%= @port ? "PORT=#{@port}" : '#PORT=' %>
<% if @heapsize -%>
HADOOP_HEAPSIZE=<%= @heapsize %>
--
To view, visit https://gerrit.wikimedia.org/r/148628
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I58e35be1f8984f91c997fde3fd8792a8d4b5cc81
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet/cdh
Gerrit-Branch: master
Gerrit-Owner: QChris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits