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 |
---|
[183] | 22 | |
---|
| 23 | cronapt::mailon-mailto { dist: |
---|
| 24 | mailon => "upgrade", |
---|
| 25 | mailto => "seguridad@localhost" |
---|
| 26 | } |
---|
| 27 | |
---|
[159] | 28 | include estacion-de-trabajo |
---|
[161] | 29 | |
---|
| 30 | ltsp::buildclient { dist: |
---|
| 31 | mirror => "http://debproxy:3142/ar.archive.ubuntu.com/ubuntu", |
---|
| 32 | securitymirror => "http://debproxy:3142/security.ubuntu.com" |
---|
[164] | 33 | } |
---|
[159] | 34 | |
---|
[164] | 35 | include ltsp::tftpdhpa::activate |
---|
| 36 | |
---|
[168] | 37 | include matrix::ldapauthclient |
---|
| 38 | |
---|
[161] | 39 | } |
---|
| 40 | |
---|
[159] | 41 | node zara { |
---|
| 42 | include test_class |
---|
| 43 | } |
---|
| 44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.