Replace no-op TLS stacks with OS::Heat::None
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 9 Jun 2016 12:33:06 +0000 (15:33 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Thu, 9 Jun 2016 12:33:06 +0000 (15:33 +0300)
These stacks effectively do nothing. So better replace them with
the None resource.

Change-Id: If1fc759ca7f03f66229c27560cc4b8e10baa0f11

overcloud-resource-registry-puppet.yaml
puppet/extraconfig/tls/no-ca.yaml [deleted file]
puppet/extraconfig/tls/no-tls.yaml [deleted file]

index 2fd48dd..a9b32e6 100644 (file)
@@ -38,8 +38,8 @@ resource_registry:
   # NodeExtraConfig == All nodes configuration pre service deployment
   # NodeExtraConfigPost == All nodes configuration post service deployment
   OS::TripleO::NodeUserData: firstboot/userdata_default.yaml
-  OS::TripleO::NodeTLSCAData: puppet/extraconfig/tls/no-ca.yaml
-  OS::TripleO::NodeTLSData: puppet/extraconfig/tls/no-tls.yaml
+  OS::TripleO::NodeTLSCAData: OS::Heat::None
+  OS::TripleO::NodeTLSData: OS::Heat::None
   OS::TripleO::ControllerExtraConfigPre: puppet/extraconfig/pre_deploy/default.yaml
   OS::TripleO::ComputeExtraConfigPre: puppet/extraconfig/pre_deploy/default.yaml
   OS::TripleO::CephStorageExtraConfigPre: puppet/extraconfig/pre_deploy/default.yaml
diff --git a/puppet/extraconfig/tls/no-ca.yaml b/puppet/extraconfig/tls/no-ca.yaml
deleted file mode 100644 (file)
index 5862a85..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-heat_template_version: 2015-04-30
-
-description: >
-  This is a default no-op template which can be passed to the
-  OS::Nova::Server resources. This template can be replaced with
-  a different implementation via the resource registry, such that
-  deployers may customize their configuration.
-
-parameters:
-  server:    # Here for compatibility with controller.yaml
-    description: ID of the controller node to apply this config to
-    type: string
-
-outputs:
-  deploy_stdout:
-    description: Deployment reference, used to trigger puppet apply on changes
-    value: 'Root CA cert injection not enabled.'
diff --git a/puppet/extraconfig/tls/no-tls.yaml b/puppet/extraconfig/tls/no-tls.yaml
deleted file mode 100644 (file)
index a2b5c56..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-heat_template_version: 2015-04-30
-
-description: >
-  This is a default no-op template. This defines the parameters that
-  need to be passed in order to have TLS enabled in the controller
-  nodes. This template can be replaced with a different
-  implementation via the resource registry, such that deployers
-  may customize their configuration.
-
-parameters:
-  DeployedSSLCertificatePath:
-    default: ''
-    description: >
-        The filepath of the certificate as it will be stored in the controller.
-    type: string
-  NodeIndex: # Here for compatibility with puppet/controller.yaml
-    default: 0
-    type: number
-  server:    # Here for compatibility with puppet/controller.yaml
-    description: ID of the controller node to apply this config to
-    type: string
-
-outputs:
-  deploy_stdout:
-    description: Deployment reference, used to trigger puppet apply on changes
-    value: 'TLS not enabled.'
-  deployed_ssl_certificate_path:
-    value: ''
-  key_modulus_md5:
-    description: Key SSL Modulus
-    value: ''
-  cert_modulus_md5:
-    description: Certificate SSL Modulus
-    value: ''