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