source: trunk/puppet/modules/puppet-escritorio/manifests/classes/oo3conf.pp @ 690

Last change on this file since 690 was 690, checked in by sebas@…, 14 years ago

cambio de nombre de la clase a oo3conf

File size: 806 bytes
RevLine 
[600]1# copyright <sebas @ koumbit.org>
2# Licence: GPL
3#
4
5class escritorio::oo3conf {
6
7    package { [
8       "openoffice.org-common",
[645]9       "openoffice.org-l10n-es",
[612]10       "openoffice.org-pdfimport"
[600]11       ]: ensure => installed
12    }
13}
14
15
[690]16class escritorio::oo3conf::fileformat {
[600]17    include escritorio::oo3conf
18
19   # we are changing the config file for write, calc and impress for oo3 3.0
[663]20   change_oo3_default { [ "writer", "calc", "impress" ]: oo3_version => "-link"; }
[600]21
22   # Configuration file for OO 3.X
23   define change_oo3_default($oo3_version) {
24     file { "/usr/lib/openoffice/basis$oo3_version/share/registry/modules/org/openoffice/Setup/Setup-$name.xcu":
25       owner => root,
26       group => root,
27       mode => 644,
[602]28       source => "puppet:///escritorio/oo30conf/Setup-$name.xcu"
[663]29     }
[600]30   }
31}
Note: See TracBrowser for help on using the repository browser.