From ec10cb70ffcd95fe717b8f195e4154cdebb73014 Mon Sep 17 00:00:00 2001
From: Sean Handley <sean.handley@gmail.com>
Date: Thu, 21 Jul 2016 10:45:11 +0100
Subject: [PATCH] Unused security group - controller.

Change-Id: I784267b244910773af1344a87f328a0463ca3eb7
---
 firstapp/samples/fog/scaling_out.rb | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/firstapp/samples/fog/scaling_out.rb b/firstapp/samples/fog/scaling_out.rb
index b90adb2e1..39bbeca0d 100644
--- a/firstapp/samples/fog/scaling_out.rb
+++ b/firstapp/samples/fog/scaling_out.rb
@@ -20,9 +20,6 @@ api_group        = conn.security_groups.create name:        "api",
 worker_group     = conn.security_groups.create name:        "worker",
                                                description: "for services that run on a worker node"
 
-controller_group = conn.security_groups.create name:        "control",
-                                               description: "for services that run on a control node"
-
 services_group   = conn.security_groups.create name:        "services",
                                                description: "for DB and AMQP services only"
 
@@ -45,25 +42,6 @@ rules = [
     from_port:       22,
     to_port:         22
   },
-  {
-    parent_group_id: controller_group.id,
-    ip_protocol:     "tcp",
-    from_port:       22,
-    to_port:         22
-  },
-  {
-    parent_group_id: controller_group.id,
-    ip_protocol:     "tcp",
-    from_port:       80,
-    to_port:         80
-  },
-  {
-    parent_group_id: controller_group.id,
-    ip_protocol:     "tcp",
-    from_port:       5672,
-    to_port:         5672,
-    group:           worker_group.id
-  },
   {
     parent_group_id: services_group.id,
     ip_protocol:     "tcp",