diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-30 10:35:28 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-30 10:35:28 -0200 |
commit | e2ffafb8115f62d2df325b810a70b15cb91855fe (patch) | |
tree | 9d0a317e3bbdbef86917b13b49b0e1568dd84118 /manifests/subsystems/utils | |
parent | 55ef94a89ce24bf82f16fe42790fce38f7385d6f (diff) | |
download | puppet-nodo-e2ffafb8115f62d2df325b810a70b15cb91855fe.tar.gz puppet-nodo-e2ffafb8115f62d2df325b810a70b15cb91855fe.tar.bz2 |
It's libreoffice on wheezy
Diffstat (limited to 'manifests/subsystems/utils')
-rw-r--r-- | manifests/subsystems/utils/office.pp | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/manifests/subsystems/utils/office.pp b/manifests/subsystems/utils/office.pp index 0233cae..7a40f78 100644 --- a/manifests/subsystems/utils/office.pp +++ b/manifests/subsystems/utils/office.pp @@ -1,13 +1,29 @@ class utils::office { # Office package { [ 'wyrd', 'vim-gtk', 'gobby', - 'sc', 'antiword', 'broffice.org', + 'sc', 'antiword', 'dia', 'kalarm', 'texlive-latex-base', 'texlive-latex-recommended', 'texlive-latex-extra', 'pandoc', 'gnumeric', 'cups-client', 'hplip', 'cups-bsd', 'gnucash', 'worklog', 'pdftk', 'calibre', 'fbreader', 'gobby-0.5', - 'mat', 'dia' ]: + 'mat' ]: ensure => installed, } + + # Squeeze only + package { 'broffice.org': + ensure => $::lsbdistcodename ? { + 'squeeze' => installed, + default => absent, + } + } + + # Wheezy onwards + package { 'libreoffice': + ensure => $::lsbdistcodename ? { + 'squeeze' => absent, + default => installed, + } + } } |