Changeset 727 for trunk


Ignore:
Timestamp:
May 14, 2010, 5:40:52 PM (14 years ago)
Author:
josx@…
Message:

Agregando el diccionario de sinonimos para oo - Cerrando #83

Location:
trunk/puppet/modules/puppet-escritorio
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-escritorio/manifests/classes/oo3conf.pp

    r690 r727  
    11# copyright <sebas @ koumbit.org>
     2# < josx @ inteorganic.com.ar >
    23# Licence: GPL
    34#
     
    3031   }
    3132}
     33
     34class escritorio::oo3conf::extensions {
     35
     36    define add_extension($archivo) {
     37        file {
     38            "/usr/lib/openoffice/share/extension/install/$archivo":
     39            owner => root,
     40            group => root,
     41            mode => 644,
     42            source => "puppet:///escritorio/oo30conf/$archivo"
     43        }
     44
     45        exec { "add_extension_with_unopkg":
     46            command => "unopkg add -f --shared /usr/lib/openoffice/share/extension/install/$archivo",
     47            path => "/bin:/sbin:/usr/sbin:/usr/bin",
     48            require => Package["openoffice.org-common"]
     49        }
     50    }
     51   
     52    add_extension { "extension": archivo => "Diccionarios-Argentina_1.oxt"; }
     53
     54}
Note: See TracChangeset for help on using the changeset viewer.