From 1a04849fe81d671843e53a231211e2f773a275ae Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Mon, 15 Jun 2015 18:26:03 +0200 Subject: Add $hostname.localdomain alias to /etc/hosts We want to make sure to be able to resolve the default domain suffix (.localdomain) appended when no domain option is passed by the dhcp server. Change-Id: I33111e91b502f57da442e5745de2217bd6d2d882 --- puppet/ceph-storage-puppet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'puppet/ceph-storage-puppet.yaml') diff --git a/puppet/ceph-storage-puppet.yaml b/puppet/ceph-storage-puppet.yaml index 1ab381af..4bba126b 100644 --- a/puppet/ceph-storage-puppet.yaml +++ b/puppet/ceph-storage-puppet.yaml @@ -138,7 +138,7 @@ outputs: hosts_entry: value: str_replace: - template: "IP HOST" + template: "IP HOST.localdomain HOST" params: IP: {get_attr: [CephStorage, networks, ctlplane, 0]} HOST: {get_attr: [CephStorage, name]} -- cgit 1.2.3-korg