From 4a6fa59446c81afa2cfaedceaa8702e6e28187ab Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 2 Jul 2016 14:21:09 -0300 Subject: Enable simplified nodo::subsystem::hosts --- manifests/base.pp | 2 +- manifests/subsystem/hosts.pp | 86 ++++++++++++++++++++++---------------------- 2 files changed, 44 insertions(+), 44 deletions(-) (limited to 'manifests') diff --git a/manifests/base.pp b/manifests/base.pp index 4ad5d11..87433a4 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -14,7 +14,7 @@ class nodo::base { include nodo::subsystem::local # Declare subsystem classes - #class { 'nodo::subsystem::hosts': } + class { 'nodo::subsystem::hosts': } class { 'nodo::subsystem::motd': } # Syslog facility diff --git a/manifests/subsystem/hosts.pp b/manifests/subsystem/hosts.pp index d3b0d56..cd7647e 100644 --- a/manifests/subsystem/hosts.pp +++ b/manifests/subsystem/hosts.pp @@ -13,48 +13,48 @@ class nodo::subsystem::hosts( source => "puppet:///modules/site_nodo/hosts/${::fqdn}", } } - default: { - host { "${::hostname}": - ensure => present, - ip => "${::ipaddress}", - host_aliases => [ "${::fqdn}" ], - } - - #host { "localhost": - # ensure => present, - # ip => "127.0.0.1", - #} - - #host { "ip6-localhost": - # ensure => present, - # ip => "::1", - # host_aliases => [ "ip6-loopback" ], - #} - - #host { "ip6-localnet": - # ensure => present, - # ip => "fe00::0", - #} - - #host { "ip6-mcastprefix": - # ensure => present, - # ip => "ff00::0", - #} - - #host { "ip6-allnodes": - # ensure => present, - # ip => "ff02::1", - #} - - #host { "ip6-allrouters": - # ensure => present, - # ip => "ff02::2", - #} - - #host { "ip6-allhosts": - # ensure => present, - # ip => "ff02::3", - #} - } + #default: { + # host { "${::hostname}": + # ensure => present, + # ip => "${::ipaddress}", + # host_aliases => [ "${::fqdn}" ], + # } + # + # #host { "localhost": + # # ensure => present, + # # ip => "127.0.0.1", + # #} + # + # #host { "ip6-localhost": + # # ensure => present, + # # ip => "::1", + # # host_aliases => [ "ip6-loopback" ], + # #} + # + # #host { "ip6-localnet": + # # ensure => present, + # # ip => "fe00::0", + # #} + # + # #host { "ip6-mcastprefix": + # # ensure => present, + # # ip => "ff00::0", + # #} + # + # #host { "ip6-allnodes": + # # ensure => present, + # # ip => "ff02::1", + # #} + # + # #host { "ip6-allrouters": + # # ensure => present, + # # ip => "ff02::2", + # #} + # + # #host { "ip6-allhosts": + # # ensure => present, + # # ip => "ff02::3", + # #} + #} } } -- cgit v1.2.3