source: trunk/puppet/modules/puppet-escritorio/manifests/classes/tbconf.pp @ 735

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

Quitando de la conf de thunderbird 3 el indexador global #86

File size: 1.7 KB
Line 
1# copyright albertorosenberg @ cta.org.ar
2# copyright sebas @ cta.org.ar
3# Licence: GPL
4#
5
6class escritorio::tb {
7
8    package { [
9        "thunderbird",
10        "thunderbird-locale-es-ar",
11        "thunderbird-gnome-support"
12        ]: ensure => installed
13    }
14}
15
16class escritorio::tb2conf {
17
18    include escritorio::tb
19
20    file { "/usr/share/thunderbird/defaults/pref/mailnews.js":
21        owner   => root,
22        group   => root,
23        mode    => 644,
24        source  => "puppet:///escritorio/tb2conf/mailnews.js",
25        require => Package["thunderbird"]
26    }
27}
28
29class escritorio::tb3conf {
30    include escritorio::tb
31    file { "/etc/thunderbird/pref/thunderbird.js": ensure => present, checksum => mtime }
32    line { globalindexoff:
33       file => "/etc/thunderbird/pref/thunderbird.js",
34       line => 'pref("mailnews.database.global.indexer.enabled", true);',
35       ensure => absent,
36       require => Package["thunderbird"]
37    }
38    line { globalindexon:
39       file => "/etc/thunderbird/pref/thunderbird.js",
40       line => 'pref("mailnews.database.global.indexer.enabled", false);',
41       ensure => present,
42       require => Package["thunderbird"]
43    }
44}
45
46class escritorio::tb2::extensions {
47
48    svn::checkout { thunderbird-extension:
49        repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/thunderbird",
50        local_path => "/dist/svn-redcta",
51        local_name => "thunderbid-extensions"
52    }
53
54    file { "/usr/share/thunderbird/isp/example-isp.rdf":
55        ensure => "/dist/svn-redcta/thunderbid-extensions/agregados/sources/isp/example-isp.rdf"
56    }
57
58# TODO: hacer lo andar bien...
59#    file { "/usr/lib/thunderbird/extensions/syncmlplugin@funambol.com":
60#        ensure => "/dist/svn-redcta/thunderbid-extensions/funambol/dist"
61#    }
62}
63
Note: See TracBrowser for help on using the repository browser.