Rush has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/248882

Change subject: openstack: cleanup up old repo setups
......................................................................

openstack: cleanup up old repo setups

We are solid on trusty/kilo now

Change-Id: Ice2e75e49887148f09296e012c0d418a9d35c5a9
---
M modules/openstack/manifests/repo.pp
1 file changed, 3 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/82/248882/1

diff --git a/modules/openstack/manifests/repo.pp 
b/modules/openstack/manifests/repo.pp
index cf5036b..ccc8ecd 100644
--- a/modules/openstack/manifests/repo.pp
+++ b/modules/openstack/manifests/repo.pp
@@ -1,25 +1,13 @@
 class openstack::repo(
     $openstack_version=$::openstack::version,
 ) {
-
-    if ($::lsbdistcodename == 'precise') {
+    # As of 26/10/2015 we support kilo on trusty (lsb_release -c)
+    if ($::lsbdistcodename == 'trusty') {
         apt::repository { 'ubuntucloud':
             uri        => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
-            dist       => "precise-updates/${openstack_version}",
+            dist       => "trusty-updates/${openstack_version}",
             components => 'main',
             keyfile    => 'puppet:///files/misc/ubuntu-cloud.key';
-        }
-    }
-    if ($::lsbdistcodename == 'trusty') {
-        # Icehouse is the default on trusty, no need to use the cloud archive.
-        if ($openstack_version != 'icehouse')
-        {
-            apt::repository { 'ubuntucloud':
-                uri        => 
'http://ubuntu-cloud.archive.canonical.com/ubuntu',
-                dist       => "trusty-updates/${openstack_version}",
-                components => 'main',
-                keyfile    => 'puppet:///files/misc/ubuntu-cloud.key';
-            }
         }
     }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice2e75e49887148f09296e012c0d418a9d35c5a9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Rush <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to