]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
update ceph noarch repo url
authorYin Jifeng <jifeng.yin@gmail.com>
Thu, 22 Jan 2015 12:07:46 +0000 (20:07 +0800)
committerYin Jifeng <jifeng.yin@gmail.com>
Thu, 22 Jan 2015 12:07:46 +0000 (20:07 +0800)
group_vars/all
roles/ceph-common/tasks/install_on_redhat.yml

index 8b4dfb3db31ee39bcf6c466b22659370106f7396..128a4b592ec1d7eb4e4e54b4db233ddbc45ed82b 100644 (file)
@@ -19,7 +19,7 @@ dummy:
 #ceph_stable_release: giant # ceph stable release
 
 # This option is needed for _both_ stable and dev version, so please always fill the right version
-# # supported distros are el6, rhel6, f18, f19, opensuse12.2, sles11, centos7 (see http://ceph.com/rpm-firefly/)
+# # supported distros are el6, rhel6, f20, el7, rhel7 (see http://ceph.com/rpm-giant/)
 #ceph_stable_redhat_distro: el7
 
 # ENTERPRISE VERSION
index efb6b9801477e3df6d25cde1b4dd457ad99fdc1f..189b025497ae21cfa8cd784f13f1e9ef260e8a72 100644 (file)
@@ -28,7 +28,7 @@
   when: ceph_stable_ice
 
 - name: Add Ceph stable repository
-  command: "rpm -U http://ceph.com/rpm-{{ ceph_stable_release }}/{{ ceph_stable_redhat_distro }}/noarch/ceph-release-1-0.el6.noarch.rpm creates=/etc/yum.repos.d/ceph.repo"
+  command: "rpm -U http://ceph.com/rpm-{{ ceph_stable_release }}/{{ ceph_stable_redhat_distro }}/noarch/ceph-release-1-0.{{ ceph_stable_redhat_distro|replace('rhel', 'el') }}.noarch.rpm creates=/etc/yum.repos.d/ceph.repo"
   when: ceph_stable
 
 - name: Add Ceph development repository