source: trunk/puppet/manifests/classes/estacion-de-trabajo.pp @ 289

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

bluefish + notas para el client ltsp

File size: 3.6 KB
RevLine 
[159]1class estacion-de-trabajo {
[180]2
3## lo basico
[213]4    package { [ "ubuntu-desktop", "ubuntu-restricted-extras", "ssh" ]: ensure => installed }
[180]5
[209]6## utile - gui
7    package { [ 'terminator' ]: ensure => installed }
8
[182]9## security
10    package { [ "libnss3-tools" ]: ensure => installed }
11
12## correo electronico
[180]13    package { [ "thunderbird", "thunderbird-gnome-support" ]: ensure => installed }
14
[182]15## grafico
16    package { [ "inkscape" ]: ensure => installed }
[180]17
[250]18    package { [ "nautilus-image-converter" ]: ensure => installed }
19
[251]20## editor de texto para html, php, etc...
21    package { [ "bluefish" ]: ensure => installed }
22
[182]23## IM
24    package { [ "amsn" ]: ensure => installed }
25
26## juegos
27    package { [ "tuxtype" ]: ensure => installed }
28
[197]29## creation of home directories with permission 700 (cannot be read by others)
30 package { [ "adduser" ]: ensure => installed }
31    line { changehomedirpermissiondefault:
32    file => "/etc/adduser.conf",
33    line => "DIR_MODE=0755",
34    ensure => absent,
35    require => Package["adduser"]
36    }
37    line { homedirpermissionothersout:
38    file => "/etc/adduser.conf",
39    line => "DIR_MODE=0700",
40    ensure => present,
41    require => Package["adduser"]
42    }
[182]43
44
[180]45#   question de creer le repertoire avant de faire le checkout
46    file { ["/dist", "/dist/svn-redcta"]:
47      ensure => directory,
48      owner => root,
49      group => root
50    }
[184]51
52    include estacion-de-trabajo::gnome-desktop::xp
53
[186]54    include estacion-de-trabajo::thunderbird::extensions
[180]55
[197]56    include estacion-de-trabajo::escritorio::fondos::cta
[184]57}
[180]58
[184]59class estacion-de-trabajo::gnome-desktop::xp {
60
61    svn::checkout { gnome-theme-xp:
62       repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/gnome-theme-xp",
63       local_path => "/dist/svn-redcta",
64       local_name => "gnome-theme-xp",
65    }
66
[202]67# Not used for now
68#    file { "/dist/svn-redcta/gnome-theme-xp/":
69#        ensure => "present",
70#    }
71
[184]72    file { "/dist/svn-redcta/gnome-theme-xp/change-default-to-xp.sh":
73        ensure => "present",
[214]74        owner => "root", group => "root", mode => "755", checksum => mtime
[184]75    }
76
[202]77## TODO: exec this when there is a svn checkout
[184]78    exec { "/dist/svn-redcta/gnome-theme-xp/change-default-to-xp.sh":
79        refreshonly => true,
[202]80        subscribe => File["/dist/svn-redcta/gnome-theme-xp/change-default-to-xp.sh"]
[184]81    }
[194]82
[202]83
[194]84    file  { "/etc/X11/Xsession.d/65xdg-user-desktop-icons-update":
85       ensure => "/dist/svn-redcta/gnome-theme-xp/Xsession.d/65xdg-user-desktop-icons-update"
86    }
[159]87}
88
[186]89class estacion-de-trabajo::thunderbird::extensions {
90
91    svn::checkout { thunderbird-extension:
92       repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/thunderbird",
93       local_path => "/dist/svn-redcta",
94       local_name => "thunderbid-extensions"
95    }
96
[188]97    file  { "/usr/share/thunderbird/isp/example-isp.rdf":
98       ensure => "/dist/svn-redcta/thunderbid-extensions/agregados/sources/isp/example-isp.rdf"
[186]99    }
100
[188]101    file { "/usr/lib/thunderbird/extensions/syncmlplugin@funambol.com":
102       ensure => "/dist/svn-redcta/thunderbid-extensions/funambol/dist"
103    }
[186]104}
[197]105
106class estacion-de-trabajo::escritorio::fondos::cta {
107
108    svn::checkout { escritorio-fondos-cta:
109       repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/escritorio-fondos-cta",
110       local_path => "/dist/svn-redcta",
111       local_name => "escritorio-fondos-cta"
112    }
113
[209]114    file  { "/usr/share/backgrounds/wpiedras-hojitas.jpg":
115       ensure => "/dist/svn-redcta/escritorio-fondos-cta/wpiedras-hojitas.jpg"
116    }
[197]117
[209]118    file { "/usr/share/backgrounds/wpiedras-verdecito.jpg":
119       ensure => "/dist/svn-redcta/escritorio-fondos-cta/wpiedras-verdecito.jpg"
120    }
[197]121}
Note: See TracBrowser for help on using the repository browser.