Last change
on this file since 164 was
164,
checked in by sebas, 15 years ago
|
para activar la posibilidad de remplazar una linea en un archivo de configuracion.
|
File size:
681 bytes
|
Line | |
---|
1 | import "classes/*.pp" |
---|
2 | import "common/*.pp" |
---|
3 | |
---|
4 | # Create "/tmp/testfile" if it doesn't exist. |
---|
5 | class test_class { |
---|
6 | file { "/tmp/testfile": |
---|
7 | ensure => present, |
---|
8 | mode => 644, |
---|
9 | owner => root, |
---|
10 | group => root |
---|
11 | } |
---|
12 | } |
---|
13 | |
---|
14 | # tell puppet on which client to run the class |
---|
15 | #node walsh { |
---|
16 | # include test_class |
---|
17 | #} |
---|
18 | node walsh { |
---|
19 | include test_class |
---|
20 | include matrix::cronapt |
---|
21 | include estacion-de-trabajo |
---|
22 | |
---|
23 | ltsp::buildclient { dist: |
---|
24 | mirror => "http://debproxy:3142/ar.archive.ubuntu.com/ubuntu", |
---|
25 | securitymirror => "http://debproxy:3142/security.ubuntu.com" |
---|
26 | } |
---|
27 | |
---|
28 | include ltsp::tftpdhpa::activate |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
32 | node zara { |
---|
33 | include test_class |
---|
34 | } |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.