################################################
#
#              Generated by Chef
#
################################################

root ssd {
    alg straw
    hash 0  # rjenkins1
}

root hdd {
    alg straw
    hash 0  # rjenkins1
}

rule ssd {
    ruleset <%=@node["bcpc"]["ceph"]["ssd"]["ruleset"]%>
    type replicated
    min_size 1
    max_size 10
    step take ssd
    step chooseleaf firstn 0 type rack
    step emit
}

rule hdd {
    ruleset <%=@node["bcpc"]["ceph"]["hdd"]["ruleset"]%>
    type replicated
    min_size 1
    max_size 10
    step take hdd
    step chooseleaf firstn 0 type rack
    step emit
}

################################################
#
#              Generated by Chef
#
################################################

root ssd {
    alg straw
    hash 0  # rjenkins1
}

root hdd {
    alg straw
    hash 0  # rjenkins1
}

rule ssd {
    ruleset <%=@node["bcpc"]["ceph"]["ssd"]["ruleset"]%>
    type replicated
    min_size 1
    max_size 10
    step take ssd
    step chooseleaf firstn 0 type host
    step emit
}

rule hdd {
    ruleset <%=@node["bcpc"]["ceph"]["hdd"]["ruleset"]%>
    type replicated
    min_size 1
    max_size 10
    step take hdd
    step chooseleaf firstn 0 type host
    step emit
}

Revert "default to store a replica per rack instead of host"
Revert "default to store a replica per rack instead of host"

This reverts commit 724b3d778df1354eabed8ea12fb8c26587a5b9af.
