aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/development/ide.pp
blob: 8361562b98005ede052ada27794e1acc40f6ad50 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
class nodo::utils::development::ide (
  $ensure = 'installed',
) {
  # In use
  package { [
    'ed',

    'myrepos',

    'python3-sphinx',
    'python3-myst-parser',

    'yamllint',

    'stow',

    # Needed by xcal
    'ruby-activesupport',

    # Static site compilers
    #'ruby-gollum-lib',
    'pelican',
    'hugo',
    'mkdocs',
    #'markdown',
  ]:
    ensure => $ensure,
  }

  # A suggested package of python3-sphinx
  package { [
    'python3-stemmer',
  ]:
    ensure => present,
  }

  # Debian bookworm onwards
  package { [
    'mkdocs-material',
    'mkdocs-material-extensions',
  ]:
    ensure => $::lsbdistcodename ? {
      'wheezy'   => absent,
      'buster'   => absent,
      'bullseye' => absent,
      default    => present,
    }
  }

  # Not in use
  package { [
    'ack',
    'yajl-tools',
    'rows',
    'hexedit',
    'markdown',
    'graphviz',
    'diffoscope',
    'dos2unix',
    'ttyrec',
    'silversearcher-ag',
    'ticgit',
    'ticgitweb',
    'ditz',
    'pnopaste-cli',
    'exuberant-ctags',
    'doxygen',
    'agave',

    # Deprecated in favor of python3-myst-parser
    # https://github.com/readthedocs/recommonmark
    'python3-recommonmark',
  ]:
    ensure => absent,
  }

  # Old stuff
  package { [
    'ack-grep',
    'mr',
    'python-sphinx',
    'python-recommonmark',

    # Needed by python-sphinx
    'python-stemmer',
  ]:
    ensure => absent,
  }
}