aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/office.pp
blob: 0b4ca19d64a1620b187002430e56385031420235 (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
29
class utils::office {
  # Office
  package { [ 'wyrd',                'vim-gtk',             'gobby',
              'sc',                  'antiword',            'dia',
              'kalarm',              'texlive-latex-base',  'texlive-latex-recommended',
              'texlive-latex-extra', 'pandoc',              'gnumeric',
              'cups-client',         'hplip',               'cups-bsd',
              'gnucash',             'worklog',             'pdftk',
              'calibre',             'fbreader',            'gobby-0.5',
              'mat',                 'evince-gtk',          'jekyll' ]:
    ensure => installed,
  }

  # Squeeze only
  package { 'broffice.org':
    ensure => $::lsbdistcodename ? {
      'squeeze' => installed,
      default   => absent,
    }
  }

  # Wheezy onwards
  package { 'libreoffice':
    ensure => $::lsbdistcodename ? {
      'squeeze' => absent,
      default   => installed,
    }
  }
}