case $hostname {
chopin,geo3,soler,wieck: {
- include sysctl
+ include debian-radvd
}
}
}
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:
+++ /dev/null
-##
-## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
-##
-
-net.ipv6.conf.default.accept_ra=0
-net.ipv6.conf.all.accept_ra=0
+++ /dev/null
-class sysctl {
- package { procps: ensure => installed }
-
- file { "/etc/sysctl.d/dsa-radvd.conf":
- owner => root,
- group => root,
- mode => 444,
- source => [ "puppet:///modules/sysctl/per-host/$fqdn/dsa-radvd.conf",
- "puppet:///modules/sysctl/common/dsa-radvd.conf" ],
- require => Package["procps"]
- ;
-
- }
-}
-# vim:set et:
-# vim:set sts=4 ts=4:
-# vim:set shiftwidth=4: