Line | |
---|
1 | import "classes/*.pp" |
---|
2 | import "common/*.pp" |
---|
3 | import "/etc/puppet/modules/module-svn/manifests/*.pp" |
---|
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 |
---|
16 | node peon { |
---|
17 | include test_class |
---|
18 | include estacion-de-trabajo |
---|
19 | } |
---|
20 | node walsh { |
---|
21 | include test_class |
---|
22 | |
---|
23 | cronapt::mailon-mailto { dist: |
---|
24 | mailon => "upgrade", |
---|
25 | mailto => "seguridad@localhost" |
---|
26 | } |
---|
27 | |
---|
28 | include estacion-de-trabajo |
---|
29 | |
---|
30 | ltsp::buildclient { dist: |
---|
31 | mirror => "http://debproxy:3142/ar.archive.ubuntu.com/ubuntu", |
---|
32 | securitymirror => "http://debproxy:3142/security.ubuntu.com" |
---|
33 | } |
---|
34 | |
---|
35 | include ltsp::tftpdhpa::activate |
---|
36 | |
---|
37 | include matrix::ldapauthclient |
---|
38 | |
---|
39 | } |
---|
40 | |
---|
41 | node zara { |
---|
42 | include test_class |
---|
43 | } |
---|
44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.