summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/packages/base.pp
blob: d93e194b6537f6708b6e1508097f3235b5bdd560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class site_config::packages::base {

  # base set of packages that we want to have installed everywhere
  package { [ 'etckeeper', 'screen', 'less' ]:
    ensure => installed,
  }

  # base set of packages that we want to remove everywhere
  package { [ 'acpi', 'acpid', 'acpi-support-base',  'eject', 'ftp',
              'laptop-detect', 'lpr', 'nfs-common', 'nfs-kernel-server',
              'portmap', 'pppconfig', 'pppoe', 'pump', 'qstat', 'rpcbind',
              'samba-common', 'samba-common-bin', 'smbclient', 'tcl8.5',
              'tk8.5', 'os-prober', 'unzip', 'xauth', 'x11-common',
              'x11-utils', 'xterm' ]:
    ensure => absent;
  }

  if $::virtual == 'virtualbox' {
    $virtualbox_ensure = present
  } else {
    $virtualbox_ensure = absent
  }

  package { [ 'build-essential', 'fontconfig-config', 'g++', 'g++-4.7', 'gcc',
              'gcc-4.6', 'gcc-4.7', 'cpp', 'cpp-4.6', 'cpp-4.7', 'libc6-dev' ]:
                ensure => $virtualbox_ensure
  }
}