From a3e83c8cff8d8062a7d9553595cf37c8aa5f46b8 Mon Sep 17 00:00:00 2001
From: Tomas Sedovic <tsedovic@redhat.com>
Date: Wed, 4 Jun 2014 12:16:24 +0200
Subject: [PATCH] Remove the tuskar-source template

There is no need for a tuskar-specific undercloud template. Tuskar is
installed via elements just like any other undercloud service.

This template is not being used in devtest and I'm not sure it ever has
been.

Change-Id: I531d927b1984873b32f440d33a130788670f7cd9
---
 .gitignore         |  1 -
 Makefile           |  5 -----
 tuskar-source.yaml | 21 ---------------------
 3 files changed, 27 deletions(-)
 delete mode 100644 tuskar-source.yaml

diff --git a/.gitignore b/.gitignore
index 06513ac836..ae03b0393d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,7 +4,6 @@ overcloud-with-block-storage.yaml
 overcloud-with-block-storage-nfs.yaml
 undercloud-bm.yaml
 undercloud-vm.yaml
-undercloud-vm-tuskar.yaml
 undercloud-vm-ironic.yaml
 
 *.py[cod]
diff --git a/Makefile b/Makefile
index 29e25b3d2f..0e52519c8f 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,6 @@ generated_templates =                         \
         overcloud-with-block-storage-nfs.yaml \
         undercloud-vm.yaml                    \
         undercloud-bm.yaml                    \
-        undercloud-vm-tuskar.yaml             \
         undercloud-vm-ironic.yaml
 
 # Files included in overcloud-source.yaml via FileInclude
@@ -29,10 +28,6 @@ undercloud-bm.yaml: undercloud-source.yaml undercloud-bm-nova-config.yaml underc
 	python ./tripleo_heat_merge/merge.py $^ > $@.tmp
 	mv $@.tmp $@
 
-undercloud-vm-tuskar.yaml: undercloud-source.yaml undercloud-vm-source.yaml tuskar-source.yaml
-	python ./tripleo_heat_merge/merge.py $^ > $@.tmp
-	mv $@.tmp $@
-
 undercloud-vm-ironic.yaml: undercloud-source.yaml undercloud-vm-ironic-config.yaml undercloud-vm-ironic-deploy.yaml
 	python ./tripleo_heat_merge/merge.py $^ > $@.tmp
 	mv $@.tmp $@
diff --git a/tuskar-source.yaml b/tuskar-source.yaml
deleted file mode 100644
index 6f84292de2..0000000000
--- a/tuskar-source.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-Parameters:
-  # NOTE(rpodolyaka): limitation of tuskar-api, see https://bugs.launchpad.net/tuskar/+bug/1235236
-  OvercloudAdminPassword:
-    Default: unset
-    Description: The password of admin user of the overcloud (required by some services in the under cloud)
-    Type: String
-  OvercloudKeystoneHost:
-    Description: The Overcloud Host running Keystone
-    Type: String
-Resources:
-  undercloudTuskarVm:
-    Type: AWS::AutoScaling::LaunchConfiguration
-    Metadata:
-      OpenStack::Role: undercloudConfig
-      tuskar:
-        db: mysql://tuskar:unset@localhost/tuskar?charset=utf8
-        user: admin
-        tenant_name: admin
-        password: {Ref: AdminPassword}
-        overcloud-admin-password: {Ref: OvercloudAdminPassword}
-        overcloud-keystone-host: {Ref: OvercloudKeystoneHost}