aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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,
+ }
+ }
}