aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-30 10:35:28 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-30 10:35:28 -0200
commite2ffafb8115f62d2df325b810a70b15cb91855fe (patch)
tree9d0a317e3bbdbef86917b13b49b0e1568dd84118 /manifests
parent55ef94a89ce24bf82f16fe42790fce38f7385d6f (diff)
downloadpuppet-nodo-e2ffafb8115f62d2df325b810a70b15cb91855fe.tar.gz
puppet-nodo-e2ffafb8115f62d2df325b810a70b15cb91855fe.tar.bz2
It's libreoffice on wheezy
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/utils/office.pp20
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,
+ }
+ }
}