summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/hosts.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-20 15:26:26 +0100
committervarac <varacanero@zeromail.org>2013-01-20 15:26:26 +0100
commitd7f7bad9b6d4a45aa06c74a1f630b38a534092e0 (patch)
tree93ef0d9a1c518ad5fe93aae895dcc4d1b539cabe /puppet/modules/site_config/manifests/hosts.pp
parent1d9f25303a58f15feec071d81ddf13291fdd6002 (diff)
configure fqdn for host
Diffstat (limited to 'puppet/modules/site_config/manifests/hosts.pp')
-rw-r--r--puppet/modules/site_config/manifests/hosts.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/hosts.pp b/puppet/modules/site_config/manifests/hosts.pp
index 06cd5c01..80619e33 100644
--- a/puppet/modules/site_config/manifests/hosts.pp
+++ b/puppet/modules/site_config/manifests/hosts.pp
@@ -3,6 +3,8 @@ class site_config::hosts() {
$hosts = hiera('hosts','')
$hostname = hiera('name')
+ $domain_public = $domain_hash['full_suffix']
+
file { "/etc/hostname":
ensure => present,
content => $hostname