diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-07-02 14:21:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-07-02 14:21:09 -0300 |
commit | 4a6fa59446c81afa2cfaedceaa8702e6e28187ab (patch) | |
tree | c755dbe4b41b70bdcbdd584a5338a7b4cafad960 | |
parent | 90c281c402a436efb74472ef751f8962ad51f262 (diff) | |
download | puppet-nodo-4a6fa59446c81afa2cfaedceaa8702e6e28187ab.tar.gz puppet-nodo-4a6fa59446c81afa2cfaedceaa8702e6e28187ab.tar.bz2 |
Enable simplified nodo::subsystem::hosts
-rw-r--r-- | manifests/base.pp | 2 | ||||
-rw-r--r-- | manifests/subsystem/hosts.pp | 86 |
2 files changed, 44 insertions, 44 deletions
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", + # #} + #} } } |