You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2013/03/14 18:54:07 UTC

svn commit: r1456570 - in /incubator/ambari/trunk: CHANGES.txt ambari-agent/src/main/puppet/modules/hdp/manifests/java/jce/package.pp

Author: swagle
Date: Thu Mar 14 17:54:07 2013
New Revision: 1456570

URL: http://svn.apache.org/r1456570
Log:
AMBARI-1637. JCE test for policy files fails during secure install. (swagle)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/java/jce/package.pp

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1456570&r1=1456569&r2=1456570&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Mar 14 17:54:07 2013
@@ -490,6 +490,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1637. JCE test for policy files fails during secure install. (swagle)
+
  AMBARI-1621. Config/Reconfig UI should not allow certain configs to have
  host-level overrides. (yusaku)
 

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/java/jce/package.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/java/jce/package.pp?rev=1456570&r1=1456569&r2=1456570&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/java/jce/package.pp (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp/manifests/java/jce/package.pp Thu Mar 14 17:54:07 2013
@@ -43,7 +43,7 @@ define hdp::java::jce::package(
     command => $curl_cmd,
     creates => $jce_curl_target,
     path    => ["/bin","/usr/bin/"],
-    unless => $jce_curl_target
+    unless => "test -e ${jce_curl_target}"
   }
 
   $security_dir = "${java_home_dir}/jre/lib/security"