class estacion-de-trabajo { ## lo basico package { [ "ubuntu-desktop", "ubuntu-restricted-extras" ]: ensure => installed } package { [ "thunderbird", "thunderbird-gnome-support" ]: ensure => installed } package { [ "inkscape", "tuxtype" ]: ensure => installed } # question de creer le repertoire avant de faire le checkout file { ["/dist", "/dist/svn-redcta"]: ensure => directory, owner => root, group => root } svn::checkout { gnome-theme-xp: repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/gnome-theme-xp", local_path => "/dist/svn-redcta", local_name => "gnome-theme-xp", } svn::checkout { thunderbird-extension: repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/thunderbird", local_path => "/dist/svn-redcta", local_name => "thunderbid-extension" } create::symblink { link-thunderbird-extension: target => "/dist/svn-redcta/thunderbid-extension/agregados/sources/isp/example-isp.rdf", linkname => "/usr/share/thunderbird/isp/example-isp.rdf", } # define create::symblink ( $target, $linkname ) { # exec { "createsymblink": # command => "ln -s $target $linkname", # path => "/bin", # creates => "$linkname", # } #} }