summaryrefslogtreecommitdiff
path: root/manifests/common.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/common.pp')
-rw-r--r--manifests/common.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/common.pp b/manifests/common.pp
index 2393f31..93db474 100644
--- a/manifests/common.pp
+++ b/manifests/common.pp
@@ -6,7 +6,8 @@ class profiles::common (
file_line { 'hosts ourself':
ensure => present,
- line => "::1\t${facts['name']}\t${::fqdn}",
+ line => "::1\t${::fqdn}\t${::hostname}",
+ match => $::fqdn,
path => '/etc/hosts',
}