Annoying warning message from Ambari snippet
@@ -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"] ]
}
