Repository: brooklyn-server
Updated Branches:
  refs/heads/master d27d6c72b -> b0cf4a62a


Fixed command for installing python via apt-get and yum by using sudo


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

Branch: refs/heads/master
Commit: a0341a4c5d9cb2111d875caa8f1d7a1af9a058e4
Parents: 3896826
Author: Jongyoul Lee <[email protected]>
Authored: Tue Apr 5 12:20:41 2016 +0900
Committer: Jongyoul Lee <[email protected]>
Committed: Tue Apr 5 12:20:41 2016 +0900

----------------------------------------------------------------------
 server-cli/src/main/resources/brooklyn/default.catalog.bom | 4 ++--
 server-cli/src/main/resources/catalog.bom                  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/a0341a4c/server-cli/src/main/resources/brooklyn/default.catalog.bom
----------------------------------------------------------------------
diff --git a/server-cli/src/main/resources/brooklyn/default.catalog.bom 
b/server-cli/src/main/resources/brooklyn/default.catalog.bom
index c5feceb..f5bc2a5 100644
--- a/server-cli/src/main/resources/brooklyn/default.catalog.bom
+++ b/server-cli/src/main/resources/brooklyn/default.catalog.bom
@@ -97,8 +97,8 @@ brooklyn.catalog:
           install.command: |
             # install python if not present
             which python || \
-              { apt-get update && apt-get install python ; } || \
-              { yum update && yum install python ; } || \
+              { sudo apt-get update && sudo apt-get install python ; } || \
+              { sudo yum update && sudo yum install python ; } || \
               { echo WARNING: cannot install python && exit 1 ; }
 
           customize.command: |

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/a0341a4c/server-cli/src/main/resources/catalog.bom
----------------------------------------------------------------------
diff --git a/server-cli/src/main/resources/catalog.bom 
b/server-cli/src/main/resources/catalog.bom
index c5feceb..f5bc2a5 100644
--- a/server-cli/src/main/resources/catalog.bom
+++ b/server-cli/src/main/resources/catalog.bom
@@ -97,8 +97,8 @@ brooklyn.catalog:
           install.command: |
             # install python if not present
             which python || \
-              { apt-get update && apt-get install python ; } || \
-              { yum update && yum install python ; } || \
+              { sudo apt-get update && sudo apt-get install python ; } || \
+              { sudo yum update && sudo yum install python ; } || \
               { echo WARNING: cannot install python && exit 1 ; }
 
           customize.command: |

Reply via email to