Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12:Update
ceph-deploy
00_no_upstream_ceph_repos.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 00_no_upstream_ceph_repos.patch of Package ceph-deploy
--- ceph-deploy-1.5.7/ceph_deploy/hosts/suse/install.py 2014-07-01 22:56:24.000000000 +0200 +++ ceph-deploy-1.5.7.new//ceph_deploy/hosts/suse/install.py 2014-07-04 15:33:49.560263472 +0200 @@ -16,61 +16,46 @@ distro_name = None if distro.codename == 'Mantis': - distro_name = 'opensuse12.2' + distro_name = 'openSUSE_12.2' - if (distro.name == "SUSE Linux Enterprise Server") and (str(distro.release) == "11"): - distro_name = 'sles11' + LOG.warning('distro.codename=%s' % (distro.codename)) + if (distro.name == "SUSE Linux Enterprise Server"): + if (str(distro.release) == "11"): + distro_name = 'SLE_11_SP3' + if (str(distro.release) == "12"): + distro_name = 'SLE_12' if distro_name == None: LOG.warning('Untested version of %s: assuming compatible with SUSE Linux Enterprise Server 11', distro.name) - distro_name = 'sles11' + distro_name = 'SLE_12' + LOG.warning('distro_name=%s' % (distro_name)) if adjust_repos: # Work around code due to bug in SLE 11 # https://bugzilla.novell.com/show_bug.cgi?id=875170 protocol = "https" - if distro_name == 'sles11': + if distro_name == 'SLE_11_SP3': protocol = "http" - remoto.process.run( - distro.conn, - [ - 'rpm', - '--import', - "{protocol}://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/{key}.asc".format( - key=key, - protocol=protocol) - ] - ) + releasePoint = "0.5" if version_kind == 'stable': - url = 'http://ceph.com/rpm-{version}/{distro}/'.format( - version=version, - distro=distro_name, - ) + releasePoint = "0.5" elif version_kind == 'testing': - url = 'http://ceph.com/rpm-testing/{distro}/'.format(distro=distro_name) + releasePoint = "0.5" elif version_kind == 'dev': - url = 'http://gitbuilder.ceph.com/ceph-rpm-{distro}{release}-{machine}-basic/ref/{version}/'.format( - distro=distro_name, - release=release.split(".", 1)[0], - machine=machine, - version=version, - ) - + releasePoint = "0.5" + url = "http://download.suse.de/ibs/Devel:/Storage:/{release}:/Staging/{distro}/Devel:Storage:{release}:Staging.repo".format( + distro=distro_name, + release=releasePoint) remoto.process.run( distro.conn, [ - 'rpm', - '-Uvh', - '--replacepkgs', - '--force', - '--quiet', - '{url}ceph-release-1-0.noarch.rpm'.format( - url=url, - ), - ] - ) + 'zypper', + 'ar', + url, + ] + ) remoto.process.run( distro.conn,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor