Repository: bigtop Updated Branches: refs/heads/master f84c31c23 -> 5efd69a43
BIGTOP-3120: Annoying warning message from Ambari snippet Signed-off-by: Evans Ye <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/5efd69a4 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/5efd69a4 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/5efd69a4 Branch: refs/heads/master Commit: 5efd69a439618367506de2ad659706c9bc93015c Parents: f84c31c Author: Olaf Flebbe <[email protected]> Authored: Thu Dec 27 14:36:33 2018 +0100 Committer: Evans Ye <[email protected]> Committed: Fri Dec 28 16:33:56 2018 +0800 ---------------------------------------------------------------------- bigtop-deploy/puppet/modules/ambari/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/5efd69a4/bigtop-deploy/puppet/modules/ambari/manifests/init.pp ---------------------------------------------------------------------- diff --git a/bigtop-deploy/puppet/modules/ambari/manifests/init.pp b/bigtop-deploy/puppet/modules/ambari/manifests/init.pp index 823463b..4d294df 100644 --- a/bigtop-deploy/puppet/modules/ambari/manifests/init.pp +++ b/bigtop-deploy/puppet/modules/ambari/manifests/init.pp @@ -35,7 +35,7 @@ class ambari { exec { "server setup": - command => "/usr/sbin/ambari-server setup -j $(readlink -f /usr/bin/java | sed 's/jre\/bin\/java//') -s", + command => "/usr/sbin/ambari-server setup -j $(readlink -f /usr/bin/java | sed 's@jre/bin/java@@') -s", require => [ Package["ambari-server"], Package["jdk"], Exec["mpack install"] ] }
