move hieradata/ceph into ceph-base service
authorEmilien Macchi <emilien@redhat.com>
Thu, 28 Jul 2016 17:23:39 +0000 (13:23 -0400)
committerEmilien Macchi <emilien@redhat.com>
Fri, 29 Jul 2016 20:36:57 +0000 (20:36 +0000)
Part of composable roles work, move hieradata/ceph into the ceph-base
profile directly.
Also add a comment in all hieradata files to stop adding more data and
use composable services.

Change-Id: I97cc22a253b547be6b99312b6072f53b428aae2c

puppet/hieradata/ceph.yaml
puppet/hieradata/common.yaml
puppet/hieradata/compute.yaml
puppet/hieradata/controller.yaml
puppet/hieradata/database.yaml
puppet/hieradata/object.yaml
puppet/hieradata/volume.yaml
puppet/services/ceph-base.yaml

index ccb41cc..c8c5804 100644 (file)
@@ -1,9 +1,2 @@
-ceph::profile::params::osd_pool_default_pg_num: 32
-ceph::profile::params::osd_pool_default_pgp_num: 32
-ceph::profile::params::osd_pool_default_size: 3
-ceph::profile::params::osd_pool_default_min_size: 1
-ceph::profile::params::osds: {/srv/data: {}}
-ceph::profile::params::manage_repo: false
-ceph::profile::params::authentication_type: cephx
-
+# Do not add hieradata in this file, and use composable services.
 ceph_classes: []
index 3bda874..e7ae521 100644 (file)
@@ -1,3 +1,5 @@
+# Do not add hieradata in this file, and use composable services.
+
 # TODO(emilien) move it to composable aodh roles later
 aodh::auth::auth_region: 'regionOne'
 aodh::auth::auth_tenant_name: 'service'
index 219f0d0..54b3d41 100644 (file)
@@ -1,3 +1,3 @@
-# Hiera data here applies to all compute nodes
+# Do not add hieradata in this file, and use composable services.
 
 compute_classes: []
index 71c53b4..905ea30 100644 (file)
@@ -1,4 +1,4 @@
-# Hiera data here applies to all controller nodes
+# Do not add hieradata in this file, and use composable services.
 
 # TODO(emilien) move it to composable aodh roles later
 aodh::api::keystone_tenant: 'service'
index d93817e..05d4b69 100644 (file)
@@ -1,3 +1,5 @@
+# Do not add hieradata in this file, and use composable services.
+
 # Aodh
 # TODO(emilien) move it to composable aodh roles later
 aodh::db::mysql::user: aodh
index da526e3..5aa0cfb 100644 (file)
@@ -1,2 +1,3 @@
-# Hiera data for swift storage nodes
+# Do not add hieradata in this file, and use composable services.
+
 object_classes: []
index dd0582f..42b85e1 100644 (file)
@@ -1,3 +1,3 @@
-# Hiera data here applies to all volume storage nodes
+# Do not add hieradata in this file, and use composable services.
 
 volume_classes: []
index bec4340..bce52f3 100644 (file)
@@ -58,6 +58,13 @@ outputs:
       config_settings:
         tripleo::profile::base::ceph::ceph_ipv6: {get_param: CephIPv6}
         tripleo::profile::base::ceph::enable_ceph_storage: {get_param: ControllerEnableCephStorage}
+        ceph::profile::params::osd_pool_default_pg_num: 32
+        ceph::profile::params::osd_pool_default_pgp_num: 32
+        ceph::profile::params::osd_pool_default_size: 3
+        ceph::profile::params::osd_pool_default_min_size: 1
+        ceph::profile::params::osds: {/srv/data: {}}
+        ceph::profile::params::manage_repo: false
+        ceph::profile::params::authentication_type: cephx
         ceph::profile::params::fsid: {get_param: CephClusterFSID}
         ceph::profile::params::client_keys:
           str_replace: