summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-04-01 00:05:42 -0700
committerelijah <elijah@riseup.net>2013-04-01 00:05:42 -0700
commit3c41a81f1a3e1757ea6b9bda7e1a98dce624ec1d (patch)
treee5e304f25a6a3faf61ed983e16e2894ab3ec1282 /puppet/modules/site_config/manifests
parent1d192ab5d42ae4c4c7fdc23b026728d860f14b04 (diff)
added setup.pp
Diffstat (limited to 'puppet/modules/site_config/manifests')
-rw-r--r--puppet/modules/site_config/manifests/hosts.pp5
1 files changed, 2 insertions, 3 deletions
diff --git a/puppet/modules/site_config/manifests/hosts.pp b/puppet/modules/site_config/manifests/hosts.pp
index 6c00f3b6..81795f7d 100644
--- a/puppet/modules/site_config/manifests/hosts.pp
+++ b/puppet/modules/site_config/manifests/hosts.pp
@@ -1,9 +1,8 @@
class site_config::hosts() {
-
$hosts = hiera('hosts','')
$hostname = hiera('name')
-
- $domain_public = $site_config::default::domain_hash['full_suffix']
+ $domain_hash = hiera('domain')
+ $domain_public = $domain_hash['full_suffix']
file { "/etc/hostname":
ensure => present,