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
|
Rev | Line | |
---|
[159] | 1 | import "classes/*.pp" |
---|
[164] | 2 | import "common/*.pp" |
---|
[166] | 3 | import "/etc/puppet/modules/module-svn/manifests/*.pp" |
---|
[159] | 4 | |
---|
| 5 | # Create "/tmp/testfile" if it doesn't exist. |
---|
| 6 | class 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 |
---|
[181] | 16 | node peon { |
---|
| 17 | include test_class |
---|
| 18 | include estacion-de-trabajo |
---|
| 19 | } |
---|
[159] | 20 | node walsh { |
---|
| 21 | include test_class |
---|
| 22 | include matrix::cronapt |
---|
| 23 | include estacion-de-trabajo |
---|
[161] | 24 | |
---|
| 25 | ltsp::buildclient { dist: |
---|
| 26 | mirror => "http://debproxy:3142/ar.archive.ubuntu.com/ubuntu", |
---|
| 27 | securitymirror => "http://debproxy:3142/security.ubuntu.com" |
---|
[164] | 28 | } |
---|
[159] | 29 | |
---|
[164] | 30 | include ltsp::tftpdhpa::activate |
---|
| 31 | |
---|
[168] | 32 | include matrix::ldapauthclient |
---|
| 33 | |
---|
[166] | 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" |
---|
[170] | 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 |
---|
[166] | 44 | } |
---|
| 45 | |
---|
[161] | 46 | } |
---|
| 47 | |
---|
[159] | 48 | node zara { |
---|
| 49 | include test_class |
---|
| 50 | } |
---|
| 51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.