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
|
Rev | Line | |
---|
[159] | 1 | import "classes/*.pp" |
---|
[164] | 2 | import "common/*.pp" |
---|
[159] | 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 |
---|
[161] | 22 | |
---|
| 23 | ltsp::buildclient { dist: |
---|
| 24 | mirror => "http://debproxy:3142/ar.archive.ubuntu.com/ubuntu", |
---|
| 25 | securitymirror => "http://debproxy:3142/security.ubuntu.com" |
---|
[164] | 26 | } |
---|
[159] | 27 | |
---|
[164] | 28 | include ltsp::tftpdhpa::activate |
---|
| 29 | |
---|
[161] | 30 | } |
---|
| 31 | |
---|
[159] | 32 | node zara { |
---|
| 33 | include test_class |
---|
| 34 | } |
---|
| 35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.