[Et-mgmt-commits-list] [SCM] virt-factory branch, master now at v0.0.3-161-ga92f00b

Adrian Likins alikins at redhat.com
Tue Aug 14 19:52:50 UTC 2007


Hello,

This is an automated email from the git hooks/update script, it was
generated because a ref change was pushed to the repository.

Updating branch, master,
       via  a92f00be70fb7ad7b824ae85563a09e5259f4150 (commit)
      from  16f89497df79ae66f71aaa5d126749f9d2392fe8 (commit)

- Log -----------------------------------------------------------------
commit a92f00be70fb7ad7b824ae85563a09e5259f4150
Author: Adrian Likins <alikins at grimlock.devel.redhat.com>
Date:   Tue Aug 14 15:43:19 2007 -0400

    add ampm stuff to *it-all.sh
-----------------------------------------------------------------------

Diffstat:
 build/build-it-all.sh |    2 +-
 build/test-it-all.sh  |   34 +++++++++++++++++++++++++++++++---
 2 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/build/build-it-all.sh b/build/build-it-all.sh
index c20a147..4a127b3 100755
--- a/build/build-it-all.sh
+++ b/build/build-it-all.sh
@@ -7,7 +7,7 @@ FC6_PKGS=""
 if [ "$FEDORA_RELEASE" == "6" ] ; then
     FC6_PKGS=" contrib-fc6"
 fi
-VF_PKGS="common/busrpc register nodes service wui contrib$FC6_PKGS"
+VF_PKGS="common/busrpc ampm register nodes service wui contrib$FC6_PKGS"
 COBBLER_PKGS="cobbler koan"
 
 
diff --git a/build/test-it-all.sh b/build/test-it-all.sh
index 52247a2..929fb3c 100755
--- a/build/test-it-all.sh
+++ b/build/test-it-all.sh
@@ -181,7 +181,7 @@ remove_all_packages()
     rm /etc/virt-factory/db/exists
     yum remove -y python-migrate virt-factory-server virt-factory-wui puppet puppet-server virt-factory-register \
 		  virt-factory-nodes koan cobbler rubygem-mongrel rubygem-rails postgresql-server \
-		  python-psycopg2 postgresql-python python-sqlalchemy amqp python-qpid qpidd qpidc
+		  python-psycopg2 postgresql-python python-sqlalchemy amqp python-qpid qpidd qpidc virt-factory-ampm
     echo $?
 }
 
@@ -189,7 +189,7 @@ remove_all_packages()
 # packages needed for the virt-factory server itself
 install_server_packages()
 {
-    yum install -y virt-factory-server  virt-factory-wui puppet puppet-server cobbler
+    yum install -y virt-factory-server  virt-factory-wui virt-factory-ampm puppet puppet-server cobbler 
 }
 
 
@@ -197,7 +197,7 @@ install_server_packages()
 # note, for this test, the machine running this script will install the server and the client code
 install_client_packages()
 {
-    yum install -y virt-factory-nodes virt-factory-register koan puppet 
+    yum install -y virt-factory-nodes virt-factory-register virt-factory-ampm koan puppet 
     echo $?
 }
 
@@ -364,6 +364,30 @@ test_nodecomm()
     fi
 }
 
+create_ampm_config()
+{
+FOO <<EOF
+[server]
+url=htpp://127.0.0.1/vf
+[user]
+user=admin
+password=fedora
+
+EOF
+
+echo $FOO > ~/.ampm_config
+}
+
+
+test_ampm()
+{
+    msg "Testing ampm"
+    create_ampm_config
+    /usr/bin/ampm list machines
+    /usr/bin/ampm list status
+    /usr/bin/ampm list deployments
+
+}
 
 # commandline parsing
 while [ $# -gt 0 ]
@@ -581,3 +605,7 @@ if [ "$TEST_PROFILE_DEPLOY" == "Y" ] ; then
     msg "Running a virtual system deployment"
     deploy_a_system
 fi
+
+
+test_ampm
+

hooks/update
---
Git Source Code Management System
hooks/update refs/heads/master \
  16f89497df79ae66f71aaa5d126749f9d2392fe8 \
  a92f00be70fb7ad7b824ae85563a09e5259f4150




More information about the Et-mgmt-commits-list mailing list