aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/latex.pp
blob: efb7a77f5b6f2152c6ce9a68c386f3833d1c7563 (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
30
31
32
33
34
35
36
class nodo::utils::latex (
  $ensure = 'installed',
) {
  # LaTeX
  package { [
    'texlive-latex-base',
    'texlive-latex-recommended',
    'texlive-latex-extra',
    'texlive-fonts-extra',
    'texlive-lang-portuguese',
    'texlive-extra-utils',
    'texlive-xetex',
    'latexmk',
    'vim-latexsuite',
    #'pdfsam',
  ]:
    ensure => $ensure,
  }

  # Not available in some systems
  package { [
    'pdftk',
  ]:
    ensure  => $::operatingsystem ? {
      'Ubuntu' => absent,
      default  => present,
    },
  }

  # Old stuff
  package { [
    'pdfjam',
  ]:
    ensure => absent,
  }
}