summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/hosts.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_config/manifests/hosts.pp')
-rw-r--r--puppet/modules/site_config/manifests/hosts.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_config/manifests/hosts.pp b/puppet/modules/site_config/manifests/hosts.pp
index ccedf036..e5d4dd70 100644
--- a/puppet/modules/site_config/manifests/hosts.pp
+++ b/puppet/modules/site_config/manifests/hosts.pp
@@ -1,8 +1,9 @@
class site_config::hosts() {
- $hosts = hiera('hosts','')
+ $hosts = hiera('hosts', false)
$hostname = hiera('name')
$domain_hash = hiera('domain')
$domain_public = $domain_hash['full_suffix']
+ $api = hiera('api', '')
file { '/etc/hostname':
ensure => present,