Move resource registry override to enable-tls.yaml
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 23 Aug 2016 05:53:50 +0000 (08:53 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 23 Aug 2016 05:53:50 +0000 (08:53 +0300)
It makes more sense for the enable-tls.yaml file to contain the
resource registry override, since it contains parameters that are
actually used there. Also, this allows us to reuse the
tls-endpoints-public-* files for other methods of enabling TLS (such
as with certmonger).

Change-Id: I98c63d0007e61968c0490a474eddb42548891fa6

environments/enable-tls.yaml
environments/tls-endpoints-public-dns.yaml
environments/tls-endpoints-public-ip.yaml

index a3f39eb..39ded65 100644 (file)
@@ -7,3 +7,6 @@ parameter_defaults:
   SSLIntermediateCertificate: ''
   SSLKey: |
     The contents of the private key go here
+
+resource_registry:
+  OS::TripleO::NodeTLSData: ../puppet/extraconfig/tls/tls-cert-inject.yaml
index 3629672..7c8e850 100644 (file)
@@ -50,6 +50,3 @@ parameter_defaults:
     SwiftAdmin: {protocol: 'http', port: '8080', host: 'IP_ADDRESS'}
     SwiftInternal: {protocol: 'http', port: '8080', host: 'IP_ADDRESS'}
     SwiftPublic: {protocol: 'https', port: '13808', host: 'CLOUDNAME'}
-
-resource_registry:
-  OS::TripleO::NodeTLSData: ../puppet/extraconfig/tls/tls-cert-inject.yaml
index d3f07cd..80595c6 100644 (file)
@@ -50,6 +50,3 @@ parameter_defaults:
     SwiftAdmin: {protocol: 'http', port: '8080', host: 'IP_ADDRESS'}
     SwiftInternal: {protocol: 'http', port: '8080', host: 'IP_ADDRESS'}
     SwiftPublic: {protocol: 'https', port: '13808', host: 'IP_ADDRESS'}
-
-resource_registry:
-  OS::TripleO::NodeTLSData: ../puppet/extraconfig/tls/tls-cert-inject.yaml