X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Fmanifests%2Finit.pp;h=1e23846d07566b449d9823c82d4fe3410037f5ea;hb=b2f6f917f87792b373e21281fc1a55f0c1146474;hp=262479a660826e0c4bf616b953269d0b8da29b1a;hpb=3315af53c1e164b8a76ef166183933c754106ba8;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 262479a66..1e23846d0 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -89,7 +89,7 @@ class debian-org { ; "/etc/pam.d/common-session": require => Package["libpam-pwdfile"], - source => "puppet:///modules/debian-org/pam.common-session", + content => template("debian-org/pam.common-session.erb"), ; "/etc/rc.local": mode => 0755, @@ -97,17 +97,6 @@ class debian-org { notify => Exec["rc.local start"], ; } - case $hostname { - handel: { - file { - "/etc/puppet/lib": - ensure => directory, - source => "puppet:///files/etc/puppet/lib", - recurse => true, - notify => Exec["puppetmaster restart"]; - } - } - } # set mmap_min_addr to 4096 to mitigate # Linux NULL-pointer dereference exploits @@ -148,9 +137,16 @@ class debian-proliant inherits debian-org { package { "hpacucli": ensure => installed; "hp-health": ensure => installed; - "cpqarrayd": ensure => installed; "arrayprobe": ensure => installed; } + case getfromhash($nodeinfo, 'squeeze') { + true: {} + default: { + package { + "cpqarrayd": ensure => installed; + } + } + } case $debarchitecture { "amd64": { package { "lib32gcc1": ensure => installed; } @@ -162,6 +158,19 @@ class debian-proliant inherits debian-org { notify => Exec["apt-get update"]; } } + +class debian-radvd inherits debian-org { + sysctl { + "dsa-accept-ra-default" : + key => "net.ipv6.conf.default.accept_ra", + value => 0, + } + sysctl { + "dsa-accept-ra-all" : + key => "net.ipv6.conf.all.accept_ra", + value => 0, + } +} # vim:set et: # vim:set sts=4 ts=4: # vim:set shiftwidth=4: