Pass public_addr to ceph::profile::params instead of ceph::mon
authorGiulio Fidente <gfidente@redhat.com>
Mon, 15 Feb 2016 19:57:53 +0000 (20:57 +0100)
committerGiulio Fidente <gfidente@redhat.com>
Mon, 15 Feb 2016 20:16:36 +0000 (21:16 +0100)
The ceph::mon resource is a define not a class so the hieradata is
not applied transparently; this change passes it to
ceph::profile::params instead which is a class.

Change-Id: Ia6518b769feb147f862b67915432d1bb7b47a415
Depends-On: I56f969328c68ed83a9b2d54ff4254dbcd6f55de0

puppet/controller.yaml

index bad9937..97034af 100644 (file)
@@ -1223,7 +1223,7 @@ resources:
               mapped_data:
                 ceph::profile::params::cluster_network: {get_input: ceph_cluster_network}
                 ceph::profile::params::public_network: {get_input: ceph_public_network}
-                ceph::mon::public_addr: {get_input: ceph_public_ip}
+                ceph::profile::params::public_addr: {get_input: ceph_public_ip}
             database:
               raw_data: {get_file: hieradata/database.yaml}
             object: