class nodo::utils::office::console ( $ensure = 'installed', ) { package { [ 'vim-gtk3', 'neovim', 'wyrd', 'sc', 'antiword', 'unrtf', 'pandoc', 'pdfgrep', 'poppler-utils', 'mat', 'python3-pdfminer', 'undertime', #'worklog', #'lolcat', #'aewan', # Needed by finder # https://git.fluxo.info/finder 'python3-prompt-toolkit', 'python3-platformdirs', ]: 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 => undef, default => absent, } } }