Add all hosts to HostsEntry output
authorJames Slagle <jslagle@redhat.com>
Mon, 17 Apr 2017 21:49:45 +0000 (17:49 -0400)
committerJames Slagle <jslagle@redhat.com>
Mon, 17 Apr 2017 21:52:52 +0000 (17:52 -0400)
Previously only the VIPs and their associated hostnames were present in
the HostsEntry output, due to the hosts_entries output on the
hosts-config.yaml nested stack being empty. It was referencing an
invalid attribute.

Change-Id: Iec41926e27bdbf86eb30f230f904df1b7dbfa9c2
Closes-Bug: #1683517

hosts-config.yaml
releasenotes/notes/add-all-hosts-to-hostsentry-20a8ee8a1a210ce2.yaml [new file with mode: 0644]

index 5a21171..c02c420 100644 (file)
@@ -31,7 +31,7 @@ outputs:
       The content that should be appended to your /etc/hosts if you want to get
       hostname-based access to the deployed nodes (useful for testing without
       setting up a DNS).
-    value: {get_attr: [hostsConfigImpl, config, hosts]}
+    value: {get_param: hosts}
   OS::stack_id:
     description: The ID of the hostsConfigImpl resource.
     value: {get_resource: hostsConfigImpl}
diff --git a/releasenotes/notes/add-all-hosts-to-hostsentry-20a8ee8a1a210ce2.yaml b/releasenotes/notes/add-all-hosts-to-hostsentry-20a8ee8a1a210ce2.yaml
new file mode 100644 (file)
index 0000000..b0ad9d9
--- /dev/null
@@ -0,0 +1,9 @@
+---
+fixes:
+  - Previously only the VIPs and their associated hostnames were present
+    in the HostsEntry output, due to the hosts_entries output on the
+    hosts-config.yaml nested stack being empty. It was referencing an
+    invalid attribute. See
+    https://bugs.launchpad.net/tripleo/+bug/1683517
+
+