source: trunk/puppet/modules/oo3_default_fileformat/manifests/init.pp @ 387

Last change on this file since 387 was 387, checked in by sebas, 15 years ago

modulo puppet para cambiar el formato de archivo por defecto de OpenOffice? 3.x

File size: 648 bytes
Line 
1# copyright <sebas @ koumbit.org>
2# Licence: GPL
3#
4
5class oo3_default_fileformat {
6
7   package { [ "openoffice.org-common" ]: ensure => installed }
8
9   # we are changing the config file for write, calc and impress for oo3 3.1
10   change_oo3_default { [ "writer", "calc", "impress" ]: oo3_version => "3.1"; }
11
12   # Configuration file for OO 3.X
13   define change_oo3_default($oo3_version) {
14     file { "/usr/lib/openoffice/basis$oo3_version/share/registry/modules/org/openoffice/Setup/Setup-$name.xcu":
15       owner => root,
16       group => root,
17       mode => 644,
18       source => "puppet:///oo3_default_fileformat/Setup-$name.xcu"
19      }
20   }
21}
Note: See TracBrowser for help on using the repository browser.