Merge pull request #22 from leseb/fix-allow-disable-mds

Allow to disable MDS
pull/25/head
Alfredo Deza 2014-03-10 13:05:12 -04:00
commit 8925f47d76
2 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ redhat_distro: el6 # supported distros are el6, rhel6, f18, f19, opensuse12.2, s
# Ceph options
cephx: true
mds: false # disable mds configuration in ceph.conf
fsid: 4a158d27-f750-41d5-9e7f-26ce4c9d2d45
# Monitors options

View File

@ -51,8 +51,10 @@
public_network = {{ public_network }}
{% endif %}
{% if mds %}
[mds]
{% for host in groups['mdss'] %}
[mds.{{ hostvars[host]['ansible_hostname'] }}]
host = {{ hostvars[host]['ansible_hostname'] }}
{% endfor %}
{% endif %}