You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ad...@apache.org on 2017/11/24 12:40:07 UTC

[25/39] ambari git commit: AMBARI-22196. yum repo file contains parsing errors due to initial whitespace (adoroszlai)

AMBARI-22196. yum repo file contains parsing errors due to initial whitespace (adoroszlai)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7d94bcf4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7d94bcf4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7d94bcf4

Branch: refs/heads/branch-feature-AMBARI-14714-blueprintv2
Commit: 7d94bcf4229978a0f06ba8e2f016f44603b6df4f
Parents: 38c1fbf
Author: Attila Doroszlai <ad...@hortonworks.com>
Authored: Fri Nov 17 18:16:48 2017 +0100
Committer: Doroszlai, Attila <ad...@hortonworks.com>
Committed: Fri Nov 24 13:30:46 2017 +0100

----------------------------------------------------------------------
 ambari-server/src/main/resources/cluster-settings.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7d94bcf4/ambari-server/src/main/resources/cluster-settings.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/cluster-settings.xml b/ambari-server/src/main/resources/cluster-settings.xml
index 70b100a..3b0cc1a 100644
--- a/ambari-server/src/main/resources/cluster-settings.xml
+++ b/ambari-server/src/main/resources/cluster-settings.xml
@@ -181,12 +181,12 @@
     <property>
         <name>repo_suse_rhel_template</name>
         <value>[{{repo_id}}]
-            name={{repo_id}}
-            {% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}
+name={{repo_id}}
+{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}
 
-            path=/
-            enabled=1
-            gpgcheck=0
+path=/
+enabled=1
+gpgcheck=0
         </value>
         <description>Template of repositories for rhel and suse.</description>
         <on-ambari-upgrade add="true"/>