source: trunk/puppet/manifests/site.pp @ 181

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

agrege peon para probar el escritorio + una funcion para crear enlace symbolico

File size: 1.2 KB
Line 
1import "classes/*.pp"
2import "common/*.pp"
3import "/etc/puppet/modules/module-svn/manifests/*.pp"
4
5# Create "/tmp/testfile" if it doesn't exist.
6class test_class {
7    file { "/tmp/testfile":
8       ensure => present,
9       mode   => 644,
10       owner  => root,
11       group  => root
12    }
13}
14
15# tell puppet on which client to run the class
16node peon {
17    include test_class
18    include estacion-de-trabajo
19}
20node walsh {
21    include test_class
22    include matrix::cronapt
23    include estacion-de-trabajo
24
25    ltsp::buildclient { dist:
26        mirror => "http://debproxy:3142/ar.archive.ubuntu.com/ubuntu",
27        securitymirror => "http://debproxy:3142/security.ubuntu.com"
28    }
29
30    include ltsp::tftpdhpa::activate
31
32    include matrix::ldapauthclient
33
34    svn::checkout { dist:
35       repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/gnome-theme-xp",
36#       svnparms = "--someparameter=AAAA --other parameter",
37       local_path => "/dist",
38       local_name => "gnome-theme-xp"
39#       user => "puppet",
40#       password => "mypassword"
41
42# ln -s /dist/gnome-theme-xp/files/GnomeXP /usr/share/icons
43# ln -s /dist/gnome-theme-xp/files/XPLuna /usr/share/themes
44   }
45
46}
47
48node zara  {
49    include test_class
50}
51
Note: See TracBrowser for help on using the repository browser.