- package { "userdir-ldap": ensure => installed;
- "zsh": ensure => installed;
- "cron": ensure => installed;
- "apt-utils": ensure => installed;
- "tcsh": ensure => installed;
- "pdksh": ensure => installed;
- "ksh": ensure => installed;
- "csh": ensure => installed;
- "ntp": ensure => installed;
- "locales-all": ensure => installed;
- "libpam-pwdfile": ensure => installed;
- "vim": ensure => installed;
- "gnupg": ensure => installed;
- "bzip2": ensure => installed;
- "less": ensure => installed;
- "ed": ensure => installed;
- "puppet": ensure => installed;
- "mtr-tiny": ensure => installed;
- "nload": ensure => installed;
- "pciutils": ensure => installed;
- "dnsutils": ensure => installed;
- "bash-completion": ensure => installed;
- "libfilesystem-ruby1.8": ensure => installed;
- "syslog-ng": ensure => installed;
- "sysklogd": ensure => purged;
- "klogd": ensure => purged;
- "rsyslog": ensure => purged;
- }
- file {
- "/etc/apt/preferences":
- source => "puppet:///files/etc/apt/preferences";
- "/etc/apt/sources.list.d/backports.org.list":
- source => "puppet:///files/etc/apt/sources.list.d/backports.org.list",
- notify => Exec["apt-get update"];
- "/etc/apt/sources.list.d/debian.org.list":
- source => "puppet:///files/etc/apt/sources.list.d/debian.org.list",
- notify => Exec["apt-get update"];
- "/etc/apt/sources.list.d/security.list":
- source => "puppet:///files/etc/apt/sources.list.d/security.list",
- notify => Exec["apt-get update"];
- "/etc/apt/sources.list.d/volatile.list":
- source => "puppet:///files/etc/apt/sources.list.d/volatile.list",
- notify => Exec["apt-get update"];
- "/etc/apt/apt.conf.d/local-recommends":
- source => "puppet:///files/etc/apt/apt.conf.d/local-recommends";
- "/etc/apt/apt.conf.d/local-pdiffs":
- source => "puppet:///files/etc/apt/apt.conf.d/local-pdiffs";
- "/etc/timezone":
- source => "puppet:///files/etc/timezone",
- notify => Exec["dpkg-reconfigure tzdata -pcritical -fnoninteractive"];
- "/etc/puppet/puppet.conf":
- require => Package["puppet"],
- source => "puppet:///files/etc/puppet/puppet.conf"
- ;
- "/etc/default/puppet":
- require => Package["puppet"],
- source => "puppet:///files/etc/default/puppet"
- ;
-
- "/etc/syslog-ng/syslog-ng.conf":
- content => template("syslog-ng.conf.erb"),
- require => Package["syslog-ng"],
- notify => Exec["syslog-ng reload"],
- ;
- "/etc/logrotate.d/syslog-ng":
- require => Package["syslog-ng"],
- source => "puppet:///files/etc/logrotate.d/syslog-ng",
- ;
- "/etc/cron.d/dsa-puppet-stuff":
- source => "puppet:///files/etc/cron.d/dsa-puppet-stuff",
- require => Package["cron"]
- ;
- "/etc/ldap/ldap.conf":
- require => Package["userdir-ldap"],
- source => "puppet:///files/etc/ldap/ldap.conf",
- ;
- "/etc/pam.d/common-session":
- require => Package["libpam-pwdfile"],
- source => "puppet:///files/etc/pam.d/common-session",
- ;
- }
- case $hostname {
+ package {
+ "apt-utils": ensure => installed;
+ "bash-completion": ensure => installed;
+ "bzip2": ensure => installed;
+ "cron": ensure => installed;
+ "csh": ensure => installed;
+ "dnsutils": ensure => installed;
+ "dsa-munin-plugins": ensure => installed;
+ "ed": ensure => installed;
+ "gnupg": ensure => installed;
+ "klogd": ensure => purged;
+ "ksh": ensure => installed;
+ "less": ensure => installed;
+ "libfilesystem-ruby1.8": ensure => installed;
+ "libpam-pwdfile": ensure => installed;
+ "locales-all": ensure => installed;
+ "mtr-tiny": ensure => installed;
+ "nload": ensure => installed;
+ "pciutils": ensure => installed;
+ "pdksh": ensure => installed;
+ "puppet": ensure => installed;
+ "rsyslog": ensure => purged;
+ "sysklogd": ensure => purged;
+ "syslog-ng": ensure => installed;
+ "tcsh": ensure => installed;
+ "userdir-ldap": ensure => installed;
+ "vim": ensure => installed;
+ "zsh": ensure => installed;
+ "logrotate": ensure => installed;
+ }
+ file {
+ "/etc/apt/preferences":
+ source => "puppet:///files/etc/apt/preferences";
+ "/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/debian.org.list":
+ content => template("debian-org/etc/apt/sources.list.d/debian.org.list.erb"),
+ notify => Exec["apt-get update"];
+ "/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/volatile.list":
+ content => template("debian-org/etc/apt/sources.list.d/volatile.list.erb"),
+ notify => Exec["apt-get update"];
+ "/etc/apt/apt.conf.d/local-recommends":
+ source => "puppet:///files/etc/apt/apt.conf.d/local-recommends";
+ "/etc/apt/apt.conf.d/local-pdiffs":
+ source => "puppet:///files/etc/apt/apt.conf.d/local-pdiffs";
+ "/etc/timezone":
+ source => "puppet:///files/etc/timezone",
+ notify => Exec["dpkg-reconfigure tzdata -pcritical -fnoninteractive"];
+ "/etc/puppet/puppet.conf":
+ require => Package["puppet"],
+ source => "puppet:///files/etc/puppet/puppet.conf"
+ ;
+ "/etc/default/puppet":
+ require => Package["puppet"],
+ source => "puppet:///files/etc/default/puppet"
+ ;
+
+ "/etc/syslog-ng/syslog-ng.conf":
+ content => template("syslog-ng.conf.erb"),
+ require => Package["syslog-ng"],
+ notify => Exec["syslog-ng reload"],
+ ;
+ "/etc/logrotate.d/syslog-ng":
+ require => Package["syslog-ng"],
+ source => "puppet:///files/etc/logrotate.d/syslog-ng",
+ ;
+ "/etc/cron.d/dsa-puppet-stuff":
+ source => "puppet:///files/etc/cron.d/dsa-puppet-stuff",
+ require => Package["cron"]
+ ;
+ "/etc/ldap/ldap.conf":
+ require => Package["userdir-ldap"],
+ source => "puppet:///files/etc/ldap/ldap.conf",
+ ;
+ "/etc/pam.d/common-session":
+ require => Package["libpam-pwdfile"],
+ source => "puppet:///files/etc/pam.d/common-session",
+ ;
+ }
+ case $hostname {