aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2015-06-18 10:05:06 -0400
committerRobert Pothier <rpothier@cisco.com>2015-07-06 10:56:11 -0400
commite4c4c4068e817e30f46ba9ed475790f20343df18 (patch)
treebb6223a657e5458d6681370c3a0b4fa0f2873e04 /extraconfig
parent45327bc18712b90d00a8ae0d61df210f46ec3376 (diff)
Wire in Controller pre-deployment extraconfig
The recently added cinder-netapp extraconfig contains some additional hieradata which needs to be applied during the initial pre-deployment phase, e.g in controller-puppet.yaml (before the manifests are applied) so wire in a new OS::TripleO::ControllerExtraConfigPre provider resource which allows passing in a nested stack (empty by default) which contains any required "pre deployment" extraconfig, such as applying this hieradata. Some changes were required to the cinder-netapp extraconfig and environment such that now the hieradata is actually applied, and the parameter_defaults specified will be correctly mapped into the StructuredDeployment. Change-Id: I8838a71db9447466cc84283b0b257bdb70353ffd
Diffstat (limited to 'extraconfig')
-rw-r--r--extraconfig/controller/cinder-netapp.yaml38
-rw-r--r--extraconfig/controller/noop.yaml3
-rw-r--r--extraconfig/post_deploy/README2
3 files changed, 2 insertions, 41 deletions
diff --git a/extraconfig/controller/cinder-netapp.yaml b/extraconfig/controller/cinder-netapp.yaml
deleted file mode 100644
index 223ceacd..00000000
--- a/extraconfig/controller/cinder-netapp.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-heat_template_version: 2015-04-30
-
-description: >
- Configure hieradata for Cinder Netapp configuration
-
-resources:
- CinderNetappConfig:
- type: OS::Heat::StructuredConfig
- properties:
- group: os-apply-config
- config:
- hiera:
- datafiles:
- cinder_netapp_data:
- mapped_data:
- cinder_enable_netapp_backend: {get_param: CinderEnableNetappBackend}
- cinder::backend::netapp::title: {get_param: CinderNetappBackendName}
- cinder::backend::netapp::netapp_login: {get_param: CinderNetappLogin}
- cinder::backend::netapp::netapp_password: {get_param: CinderNetappPassword}
- cinder::backend::netapp::netapp_hostname: {get_param: CinderNetappServerHostname}
- cinder::backend::netapp::netapp_server_port: {get_param: CinderNetappServerPort}
- cinder::backend::netapp::netapp_size_multiplier: {get_param: CinderNetappSizeMultiplier}
- cinder::backend::netapp::netapp_storage_family: {get_param: CinderNetappStorageFamily}
- cinder::backend::netapp::netapp_storage_protocol: {get_param: CinderNetappStorageProtocol}
- cinder::backend::netapp::netapp_transport_type: {get_param: CinderNetappTransportType}
- cinder::backend::netapp::netapp_vfiler: {get_param: CinderNetappVfiler}
- cinder::backend::netapp::netapp_volume_list: {get_param: CinderNetappVolumeList}
- cinder::backend::netapp::netapp_vserver: {get_param: CinderNetappVserver}
- cinder::backend::netapp::netapp_partner_backend_name: {get_param: CinderNetappPartnerBackendName}
- cinder::backend::netapp::nfs_shares: {get_param: CinderNetappNfsShares}
- cinder::backend::netapp::nfs_shares_config: {get_param: CinderNetappNfsSharesConfig}
- cinder::backend::netapp::nfs_mount_options: {get_param: CinderNetappNfsMountOptions}
- cinder::backend::netapp::netapp_copyoffload_tool_path: {get_param: CinderNetappCopyOffloadToolPath}
- cinder::backend::netapp::netapp_controller_ips: {get_param: CinderNetappControllerIps}
- cinder::backend::netapp::netapp_sa_password: {get_param: CinderNetappSaPassword}
- cinder::backend::netapp::netapp_storage_pools: {get_param: CinderNetappStoragePools}
- cinder::backend::netapp::netapp_eseries_host_type: {get_param: CinderNetappEseriesHostType}
- cinder::backend::netapp::netapp_webservice_path: {get_param: CinderNetappWebservicePath}
diff --git a/extraconfig/controller/noop.yaml b/extraconfig/controller/noop.yaml
deleted file mode 100644
index 2eb35763..00000000
--- a/extraconfig/controller/noop.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
-heat_template_version: 2015-04-30
-
-description: A stack which doesn't configure anything.
diff --git a/extraconfig/post_deploy/README b/extraconfig/post_deploy/README
new file mode 100644
index 00000000..3c53fa2c
--- /dev/null
+++ b/extraconfig/post_deploy/README
@@ -0,0 +1,2 @@
+This tree contains additional configuration which happens "post deployment",
+e.g after the OpenStack service configuration has been completed.