Ottomata has uploaded a new change for review. https://gerrit.wikimedia.org/r/208227
Change subject: Fixing @hdfs_site_impala_extra_properties rendering in hdfs-site.xml so that the file is the same every time puppet runs ...................................................................... Fixing @hdfs_site_impala_extra_properties rendering in hdfs-site.xml so that the file is the same every time puppet runs Change-Id: I83c5f788f32b25ad2276fda45eac20a2625ed950 --- M templates/hadoop/hdfs-site.xml.erb 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet/cdh refs/changes/27/208227/1 diff --git a/templates/hadoop/hdfs-site.xml.erb b/templates/hadoop/hdfs-site.xml.erb index 1180fb7..3ccba3e 100644 --- a/templates/hadoop/hdfs-site.xml.erb +++ b/templates/hadoop/hdfs-site.xml.erb @@ -132,9 +132,9 @@ # cdh::impala::config class to inherit from cdh::hadoop and # render a similar hdfs-site.xml, but with these additional values. -%> -<% Hash[@hdfs_site_impala_extra_properties.sort].each do |name, value| -%> +<% @hdfs_site_impala_extra_properties.sort.map do |key, value| -%> <property> - <name><%= name %></name> + <name><%= key %></name> <value><%= value %></value> </property> <% end -%> -- To view, visit https://gerrit.wikimedia.org/r/208227 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I83c5f788f32b25ad2276fda45eac20a2625ed950 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet/cdh Gerrit-Branch: master Gerrit-Owner: Ottomata <o...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits