diff options
author | 2016-08-04 17:37:15 +0200 | |
---|---|---|
committer | 2016-08-05 16:50:35 +0200 | |
commit | 5cc5559348a8a18a41cfd25cce446955d63afb83 (patch) | |
tree | 75d5434688d3d4dbcc467581205c5fe4a40c2e60 /ci/bundle_tpl/ceph.yaml | |
parent | eae61f596efd44095dbb78db6e7dd45d249cf77e (diff) |
New scripts for configs generation, based on jinja2
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
Diffstat (limited to 'ci/bundle_tpl/ceph.yaml')
-rw-r--r-- | ci/bundle_tpl/ceph.yaml | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/ci/bundle_tpl/ceph.yaml b/ci/bundle_tpl/ceph.yaml deleted file mode 100644 index 82cfd283..00000000 --- a/ci/bundle_tpl/ceph.yaml +++ /dev/null @@ -1,36 +0,0 @@ -{% if opnfv.storage_dict.ceph is defined %} - ceph: - charm: "local:{{ ubuntu.release }}/ceph" - num_units: {{ unit_ceph_qty() }} - options: - monitor-count: {{ unit_ceph_qty() }} - fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7 - monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A== -{% if opnfv.spaces_dict.storage is defined %} - #ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }} -{% endif %} - to: -{% for unit_id in to_select(unit_ceph_qty()) %} - - "lxc:nodes={{ unit_id }}" -{% endfor %} - ceph-osd: - charm: "local:{{ ubuntu.release }}/ceph-osd" - num_units: {{ opnfv.units }} - options: - osd-devices: {{ opnfv.storage_dict.ceph.disk }} - osd-reformat: 'yes' - to: -{% for unit_id in range(0, opnfv.units) %} - - "nodes={{ unit_id }}" -{% endfor %} - ceph-radosgw: - charm: "local:{{ ubuntu.release }}/ceph-radosgw" - num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }} - options: - use-embedded-webserver: true - operator-roles: "Member,admin" - to: -{% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %} - - "lxc:nodes={{ unit_id }}" -{% endfor %} -{% endif %} |