Andrew Bogott has uploaded a new change for review.

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

Change subject: Use the ubuntu cloud archive for all Ubuntu versions
......................................................................

Use the ubuntu cloud archive for all Ubuntu versions

I don't know why this was only marked for 'precise' --
as we move to Trusty we still want the latest packages.

Change-Id: If191bab1886881dc33f33df39816ad961cb7e754
---
M modules/openstack/manifests/repo.pp
1 file changed, 5 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/71/174971/1

diff --git a/modules/openstack/manifests/repo.pp 
b/modules/openstack/manifests/repo.pp
index 4230ee9..efc510e 100644
--- a/modules/openstack/manifests/repo.pp
+++ b/modules/openstack/manifests/repo.pp
@@ -1,13 +1,10 @@
 class openstack::repo(
     $openstack_version=$::openstack::version,
 ) {
-
-    if ($::lsbdistcodename == 'precise') {
-        apt::repository { 'ubuntucloud':
-            uri        => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
-            dist       => "precise-updates/${openstack_version}",
-            components => 'main',
-            keyfile    => 'puppet:///files/misc/ubuntu-cloud.key';
-        }
+    apt::repository { 'ubuntucloud':
+        uri        => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
+        dist       => "precise-updates/${openstack_version}",
+        components => 'main',
+        keyfile    => 'puppet:///files/misc/ubuntu-cloud.key';
     }
 }

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

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

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

Reply via email to