- package { "userdir-ldap": ensure => latest;
- "zsh": ensure => latest;
- "tcsh": ensure => latest;
- "pdksh": ensure => latest;
- "ksh": ensure => latest;
- "csh": ensure => latest;
- "ntp": ensure => latest;
- "locales-all": ensure => latest;
- "sudo": ensure => latest;
- "libpam-pwdfile": ensure => latest;
- "vim": ensure => latest;
- "gnupg": ensure => latest;
- "bzip2": ensure => latest;
- "less": ensure => latest;
- "ed": ensure => latest;
- "puppet": ensure => latest;
- "mtr-tiny": ensure => latest;
- "nload": ensure => latest;
- "pciutils": ensure => latest;
- "dnsutils:": ensure => latest;
- "bash-completion": ensure => latest;
- "dsa-nagios-nrpe-config": ensure => latest;
- }
- file {
- "/etc/apt/preferences":
- owner => root,
- group => root,
- mode => 444,
- ensure => file,
- source => "puppet:///files/etc/apt/preferences";
- "/etc/apt/sources.list.d/backports.org.list":
- owner => root,
- group => root,
- mode => 444,
- ensure => file,
- source => "puppet:///files/etc/apt/sources.list.d/backports.org.list";
+ $debianadmin = [ "debian-archive-debian-samhain-reports@master.debian.org", "debian-admin@ftbfs.de", "weasel@debian.org", "steve@lobefin.net", "paravoid@debian.org" ]
+ package {
+ "apt-utils": ensure => installed;
+ "bash-completion": ensure => installed;
+ "debian.org": ensure => installed;
+ "dnsutils": ensure => installed;
+ "dsa-munin-plugins": ensure => installed;
+ "klogd": ensure => purged;
+ "less": ensure => installed;
+ "lsb-release": ensure => installed;
+ "libfilesystem-ruby1.8": ensure => installed;
+ "molly-guard": ensure => installed;
+ "mtr-tiny": ensure => installed;
+ "nload": ensure => installed;
+ "pciutils": ensure => installed;
+ "rsyslog": ensure => purged;
+ "sysklogd": ensure => purged;
+ }
+ case getfromhash($nodeinfo, 'broken-rtc') {
+ true: {
+ package {
+ fake-hwclock: ensure => installed;
+ }
+ }
+ }
+ case $debarchitecture {
+ "armhf": {}
+ default: {
+ file {
+ "/etc/apt/sources.list.d/security.list":
+ content => template("debian-org/etc/apt/sources.list.d/security.list.erb"),
+ notify => Exec["apt-get update"];
+ "/etc/apt/sources.list.d/backports.org.list":
+ content => template("debian-org/etc/apt/sources.list.d/backports.org.list.erb"),
+ notify => Exec["apt-get update"];
+ "/etc/apt/sources.list.d/volatile.list":
+ content => template("debian-org/etc/apt/sources.list.d/volatile.list.erb"),
+ notify => Exec["apt-get update"];
+ }
+ }
+ }
+ file {
+ "/etc/apt/preferences":
+ source => "puppet:///modules/debian-org/apt.preferences";
+ "/etc/apt/sources.list.d/debian.org.list":
+ content => template("debian-org/etc/apt/sources.list.d/debian.org.list.erb"),
+ notify => Exec["apt-get update"];
+ "/etc/apt/apt.conf.d/local-compression":
+ source => "puppet:///modules/debian-org/apt.conf.d/local-compression";
+ "/etc/apt/apt.conf.d/local-recommends":
+ source => "puppet:///modules/debian-org/apt.conf.d/local-recommends";
+ "/etc/apt/apt.conf.d/local-pdiffs":
+ source => "puppet:///modules/debian-org/apt.conf.d/local-pdiffs";
+ "/etc/timezone":
+ source => "puppet:///modules/debian-org/timezone",
+ notify => Exec["dpkg-reconfigure tzdata -pcritical -fnoninteractive"];
+ "/etc/puppet/puppet.conf":
+ # require => Package["puppet"],
+ source => "puppet:///modules/debian-org/puppet.conf"
+ ;
+ "/etc/default/puppet":
+ # require => Package["puppet"],
+ source => "puppet:///modules/debian-org/puppet.default"
+ ;