Andrew Bogott has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/334745 )

Change subject: Keystone:  Define some stopped services on the spare host
......................................................................


Keystone:  Define some stopped services on the spare host

uwsgi-keystone-admin and uwsgi-keystone-public services are
referred to in varions refresh lines, so they need to be defined
on labcontrol1002 even though the services don't run there.

Change-Id: Ic49b51ca7c17fa93968918e572d4d74ebc45fc57
---
M modules/openstack/manifests/keystone/service.pp
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Andrew Bogott: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/openstack/manifests/keystone/service.pp 
b/modules/openstack/manifests/keystone/service.pp
index d1b5f77..501a716 100644
--- a/modules/openstack/manifests/keystone/service.pp
+++ b/modules/openstack/manifests/keystone/service.pp
@@ -120,6 +120,18 @@
         }
     } else {
         $enable_uwsgi = false
+
+        # Because of the enabled => false, the uwsgi::app
+        #  declarations below don't actually define
+        #  services for the keystone processes.  We need
+        #  to define them here (even though they're stopped)
+        #  so we can refer to them elsewhere.
+        service { 'uwsgi-keystone-admin':
+            ensure => stopped,
+        }
+        service { 'uwsgi-keystone-public':
+            ensure => stopped,
+        }
     }
 
     # Set up uwsgi services

-- 
To view, visit https://gerrit.wikimedia.org/r/334745
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic49b51ca7c17fa93968918e572d4d74ebc45fc57
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to