[159] | 1 | class estacion-de-trabajo { |
---|
[180] | 2 | |
---|
| 3 | ## lo basico |
---|
[182] | 4 | package { [ "ubuntu-desktop", "ubuntu-restricted-extras", "cups" ]: ensure => installed } |
---|
[180] | 5 | |
---|
[182] | 6 | ## security |
---|
| 7 | package { [ "libnss3-tools" ]: ensure => installed } |
---|
| 8 | |
---|
| 9 | ## correo electronico |
---|
[180] | 10 | package { [ "thunderbird", "thunderbird-gnome-support" ]: ensure => installed } |
---|
| 11 | |
---|
[182] | 12 | ## grafico |
---|
| 13 | package { [ "inkscape" ]: ensure => installed } |
---|
[180] | 14 | |
---|
[182] | 15 | ## IM |
---|
| 16 | package { [ "amsn" ]: ensure => installed } |
---|
| 17 | |
---|
| 18 | ## juegos |
---|
| 19 | package { [ "tuxtype" ]: ensure => installed } |
---|
| 20 | |
---|
| 21 | ## cups (browse) - to see other printers |
---|
| 22 | line { cupsbrowseoff: |
---|
| 23 | file => "/etc/cups/cupsd.conf", |
---|
| 24 | line => 'Browsing Off', |
---|
| 25 | ensure => absent, |
---|
| 26 | require => Package["cups"] |
---|
| 27 | } |
---|
| 28 | line { cupsbrowseon: |
---|
| 29 | file => "/etc/cups/cupsd.conf", |
---|
| 30 | line => 'Browsing On', |
---|
| 31 | ensure => present, |
---|
| 32 | require => Package["cups"] |
---|
| 33 | } |
---|
| 34 | ## TODO: restart cups after a change of config |
---|
| 35 | # service { |
---|
| 36 | # "cups": |
---|
| 37 | # enable => true, |
---|
| 38 | # ensure => running, |
---|
| 39 | # # not sure if i'm correct with the last statement... about line. |
---|
| 40 | # subscribe => [ Package["cups"], line["cupsbrowseon"] ], |
---|
| 41 | # } |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | |
---|
[180] | 46 | # question de creer le repertoire avant de faire le checkout |
---|
| 47 | file { ["/dist", "/dist/svn-redcta"]: |
---|
| 48 | ensure => directory, |
---|
| 49 | owner => root, |
---|
| 50 | group => root |
---|
| 51 | } |
---|
| 52 | svn::checkout { gnome-theme-xp: |
---|
| 53 | repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/gnome-theme-xp", |
---|
| 54 | local_path => "/dist/svn-redcta", |
---|
| 55 | local_name => "gnome-theme-xp", |
---|
| 56 | } |
---|
| 57 | svn::checkout { thunderbird-extension: |
---|
| 58 | repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/thunderbird", |
---|
| 59 | local_path => "/dist/svn-redcta", |
---|
| 60 | local_name => "thunderbid-extension" |
---|
| 61 | } |
---|
| 62 | |
---|
| 63 | create::symblink { link-thunderbird-extension: |
---|
| 64 | target => "/dist/svn-redcta/thunderbid-extension/agregados/sources/isp/example-isp.rdf", |
---|
| 65 | linkname => "/usr/share/thunderbird/isp/example-isp.rdf", |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | # define create::symblink ( $target, $linkname ) { |
---|
| 70 | # exec { "createsymblink": |
---|
| 71 | # command => "ln -s $target $linkname", |
---|
| 72 | # path => "/bin", |
---|
| 73 | # creates => "$linkname", |
---|
| 74 | # } |
---|
| 75 | |
---|
| 76 | #} |
---|
| 77 | |
---|
| 78 | |
---|
[159] | 79 | } |
---|
| 80 | |
---|