Rev | Line | |
---|
[387] | 1 | # copyright <sebas @ koumbit.org> |
---|
| 2 | # Licence: GPL |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | class oo3_default_fileformat { |
---|
| 6 | |
---|
| 7 | package { [ "openoffice.org-common" ]: ensure => installed } |
---|
| 8 | |
---|
[388] | 9 | # we are changing the config file for write, calc and impress for oo3 3.0 |
---|
| 10 | change_oo3_default { [ "writer", "calc", "impress" ]: oo3_version => "3.0"; } |
---|
[387] | 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.