diff options
Diffstat (limited to 'manifests')
| -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", +    #  #} +    #}    }  }  | 
