diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-10-22 08:54:05 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-10-22 08:54:05 +0200 |
commit | 2422a081a5be0d5ac5afb122361bc283da67341f (patch) | |
tree | cb255582060af6547dd9318c56ba0e8c761846a1 /controller/config/os/EXAMPLE.sh | |
parent | 922089746e1029de9be986672fcdeb6bc82e18d7 (diff) | |
download | postgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.tar.gz postgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.tar.xz postgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.zip |
big reorg: prepare for generalization
Try to split into three separate components -> controller, tester,
and 'tasks' (postgresql-tasks in our case). The controller
component is the main part which is able to run the task remotely.
Tester is more-like library for 'tasks' component (should be
reusable on the raw git level).
* controller: Almost separated component.
* postgresql-tasks: Likewise.
* tester: Likewise.
Diffstat (limited to 'controller/config/os/EXAMPLE.sh')
-rw-r--r-- | controller/config/os/EXAMPLE.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/controller/config/os/EXAMPLE.sh b/controller/config/os/EXAMPLE.sh new file mode 100644 index 0000000..b5ba270 --- /dev/null +++ b/controller/config/os/EXAMPLE.sh @@ -0,0 +1,20 @@ +## THIS IS EXAMPLE OPENSTACK DTF CONFIGURATION ## + +# variable declarations, should be C&Ped +declare -A os_flavor_ids os_image_ids +export os_flavor_ids=[] +export os_image_ids=[] + +# connection info about particular OpenStack instance + +# which ssh keys should be uploaded to created VMs +export os_keypair="keypair-id" +# group of firewall rules to be set on VMs +export os_security_group=test_group +# the name of network connection as is presented by ansible +export os_network_dev=network_name + +# per-distribution dictionary with images/flavors +os_flavor_ids["fedora20"]="2" +os_image_ids["fedora20"]="0461eef2-5921-4c01-95a6-6edf96d41b89" + |