summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puppet/modules/site_config/manifests/hosts.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_config/manifests/hosts.pp b/puppet/modules/site_config/manifests/hosts.pp
index e43ad45e..878b6af0 100644
--- a/puppet/modules/site_config/manifests/hosts.pp
+++ b/puppet/modules/site_config/manifests/hosts.pp
@@ -11,7 +11,7 @@ class site_config::hosts() {
$dns_aliases = $dns['aliases']
}
$my_hostnames = unique(concat(
- $dns_aliases, [$hostname, $domain_hash['full'], $domain_hash['internal']]
+ [$domain_hash['full'], $hostname, $domain_hash['internal']], $dns_aliases
))
file { '/etc/hostname':