Last change
on this file since 625 was
612,
checked in by josx@…, 15 years ago
|
Arreglando problemas por usar diferentes versiones de puppet(coma en el ultimo elemento de un array y envio de multiples elemetos en vez de array )
|
File size:
774 bytes
|
Rev | Line | |
---|
[600] | 1 | # copyright <sebas @ koumbit.org> |
---|
| 2 | # Licence: GPL |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | class escritorio::oo3conf { |
---|
| 6 | |
---|
| 7 | package { [ |
---|
| 8 | "openoffice.org-common", |
---|
[612] | 9 | "openoffice.org-pdfimport" |
---|
[600] | 10 | ]: ensure => installed |
---|
| 11 | } |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | class escritorio::oo30conf::fileformat { |
---|
| 16 | include escritorio::oo3conf |
---|
| 17 | |
---|
| 18 | # we are changing the config file for write, calc and impress for oo3 3.0 |
---|
| 19 | change_oo3_default { [ "writer", "calc", "impress" ]: oo3_version => "3.0"; } |
---|
| 20 | |
---|
| 21 | # Configuration file for OO 3.X |
---|
| 22 | define change_oo3_default($oo3_version) { |
---|
| 23 | file { "/usr/lib/openoffice/basis$oo3_version/share/registry/modules/org/openoffice/Setup/Setup-$name.xcu": |
---|
| 24 | owner => root, |
---|
| 25 | group => root, |
---|
| 26 | mode => 644, |
---|
[602] | 27 | source => "puppet:///escritorio/oo30conf/Setup-$name.xcu" |
---|
[600] | 28 | } |
---|
| 29 | } |
---|
| 30 | } |
---|
| 31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.