You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2015/03/13 12:20:07 UTC

[7/8] incubator-brooklyn git commit: Riak Linux

Riak Linux

- Fix the "Check is the download url available"
  for the Riak enterprise cluster


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/b1b960ce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/b1b960ce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/b1b960ce

Branch: refs/heads/master
Commit: b1b960ce221e61f58a3ab24645757a42f56b2dee
Parents: 5d01ab5
Author: Valentin Aitken <bo...@gmail.com>
Authored: Thu Mar 12 19:14:20 2015 +0200
Committer: Valentin Aitken <bo...@gmail.com>
Committed: Thu Mar 12 19:14:20 2015 +0200

----------------------------------------------------------------------
 .../src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/b1b960ce/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java
----------------------------------------------------------------------
diff --git a/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java b/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java
index 769ebac..73bb272 100644
--- a/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java
+++ b/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java
@@ -70,7 +70,7 @@ public class RiakNodeImpl extends SoftwareProcessImpl implements RiakNode {
     public boolean isPackageDownloadUrlProvided() {
         AttributeSensorAndConfigKey[] downloadProperties = {DOWNLOAD_URL_RHEL_CENTOS, DOWNLOAD_URL_UBUNTU, DOWNLOAD_URL_DEBIAN};
         for(AttributeSensorAndConfigKey property : downloadProperties) {
-            if(!((ConfigurationSupportInternal)config()).getLocalRaw(property).isAbsent()) {
+            if(!((ConfigurationSupportInternal)config()).getRaw(property).isAbsent()) {
                 return true;
             }
         }
@@ -98,6 +98,7 @@ public class RiakNodeImpl extends SoftwareProcessImpl implements RiakNode {
         return newPorts;
     }
 
+    @Override
     public void connectSensors() {
         super.connectSensors();
         connectServiceUpIsRunning();