aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/office/console.pp
blob: 57d6e46d0d1f1e3cb035b6c242799de92b537f30 (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
37
38
39
40
class nodo::utils::office::console (
  $ensure = 'installed',
) {
  package { [
    'vim-gtk3',
    'neovim',
    'wyrd',
    'sc',
    'antiword',
    'unrtf',
    'pandoc',
    'pandoc-citeproc',
    'pdfgrep',
    'poppler-utils',
    'mat',
    'python3-pdfminer',
    'undertime',
    #'worklog',
    #'lolcat',
    #'aewan',
  ]:
    ensure => $ensure,
  }

  # Deprecated
  package { [
    'pandoc-citeproc',
  ]:
    ensure => $::lsbdistcodename ? {
      'wheezy'   => present,
      'buster'   => present,
      'bullseye' => present,
      # Instead of removing this package, we'll let it stay
      # for now on systems that were upgraded from previous
      # Debian versions
      #default => absent,
      default  => undef,
    }
  }
}