From 4a880ad141c8deefb41549e5e79c868303e1c296 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 23 Sep 2016 16:29:26 -0300 Subject: Coding style for utilities --- manifests/utils/office.pp | 54 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 11 deletions(-) (limited to 'manifests/utils/office.pp') diff --git a/manifests/utils/office.pp b/manifests/utils/office.pp index 6c2b5a7..978efe8 100644 --- a/manifests/utils/office.pp +++ b/manifests/utils/office.pp @@ -1,28 +1,60 @@ class nodo::utils::office { # Office - package { [ 'vim-gtk', 'gobby', 'libreoffice', - 'sc', 'antiword', 'unrtf', - 'pandoc', 'wyrd', - 'gnucash', 'worklog', 'pdftk', - 'fbreader', 'pdfgrep', - 'mat', 'evince', - 'aewan', 'autocutsel', - 'parcellite' ]: + package { [ + 'vim-gtk', + 'gobby', + 'libreoffice', + 'sc', + 'antiword', + 'unrtf', + 'pandoc', + 'wyrd', + 'gnucash', + 'worklog', + 'pdftk', + 'fbreader', + 'pdfgrep', + 'mat', + 'evince', + 'aewan', + 'autocutsel', + 'parcellite', + ]: ensure => installed, } # Finance - package { [ 'ledger', 'clipf', 'misery' ]: + package { [ + 'ledger', + 'clipf', + 'misery', + ]: ensure => present, } # LaTeX - package { [ 'texlive-latex-base', 'texlive-latex-recommended', 'texlive-latex-extra', 'texlive-fonts-extra', 'vim-latexsuite', 'pdfjam' ]: + package { [ + 'texlive-latex-base', + 'texlive-latex-recommended', + 'texlive-latex-extra', + 'texlive-fonts-extra', + 'vim-latexsuite', + 'pdfjam', + ]: ensure => present, } # Not in use - package { [ 'kalarm', 'gnumeric', 'jekyll', 'taskwarrior', 'vit', 'hledger', 'dia', 'calibre' ]: + package { [ + 'kalarm', + 'gnumeric', + 'jekyll', + 'taskwarrior', + 'vit', + 'hledger', + 'dia', + 'calibre', + ]: ensure => absent, } } -- cgit v1.2.3