Last change
on this file since 353 was
310,
checked in by sebas, 15 years ago
|
las maquinas que van a ser permanente, les mando en un archivo aparte
|
File size:
700 bytes
|
Rev | Line | |
---|
[159] | 1 | import "classes/*.pp" |
---|
[164] | 2 | import "common/*.pp" |
---|
[166] | 3 | import "/etc/puppet/modules/module-svn/manifests/*.pp" |
---|
[159] | 4 | |
---|
[223] | 5 | import "node-prod-estaciones.pp" |
---|
| 6 | import "node-prod-servidores.pp" |
---|
[310] | 7 | import "lugo.pp" |
---|
| 8 | import "walsh.pp" |
---|
[216] | 9 | |
---|
[159] | 10 | # Create "/tmp/testfile" if it doesn't exist. |
---|
| 11 | class test_class { |
---|
| 12 | file { "/tmp/testfile": |
---|
| 13 | ensure => present, |
---|
| 14 | mode => 644, |
---|
| 15 | owner => root, |
---|
| 16 | group => root |
---|
| 17 | } |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | # tell puppet on which client to run the class |
---|
[181] | 21 | node peon { |
---|
| 22 | include test_class |
---|
| 23 | include estacion-de-trabajo |
---|
| 24 | } |
---|
[206] | 25 | |
---|
| 26 | node ardizzone { |
---|
| 27 | include test_class |
---|
| 28 | include audiostreamer |
---|
[216] | 29 | |
---|
| 30 | debproxy::activateclient { dist: |
---|
| 31 | debproxyhost => "debproxy", |
---|
| 32 | } |
---|
| 33 | |
---|
[206] | 34 | } |
---|
| 35 | |
---|
[159] | 36 | node zara { |
---|
| 37 | include test_class |
---|
| 38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.