cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [7/8] git commit: CLOUDSTACK-221: Add user/group before installing aws-api
Date Mon, 08 Oct 2012 17:39:13 GMT
CLOUDSTACK-221: Add user/group before installing aws-api

Since cloud-client requires aws-api package, and is installed
before aws-api, the patch sets up user/group first.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


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

Branch: refs/heads/master
Commit: 029b9dde864cae940236e45007a99dc89617c1d9
Parents: e63a3b6
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Mon Oct 8 15:37:56 2012 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Mon Oct 8 23:05:32 2012 +0530

----------------------------------------------------------------------
 cloud.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/029b9dde/cloud.spec
----------------------------------------------------------------------
diff --git a/cloud.spec b/cloud.spec
index f52387f..8698fb2 100644
--- a/cloud.spec
+++ b/cloud.spec
@@ -331,7 +331,7 @@ if [ "$1" == "0" ] ; then
     /sbin/service %{name}-management stop > /dev/null 2>&1 || true
 fi
 
-%pre client
+%pre aws-api
 id %{name} > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged
user" \
      -r -s /bin/sh -d %{_sharedstatedir}/%{name}/management %{name}|| true
 


Mime
View raw message