/[adm]/puppet/modules/icecream/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/icecream/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2234 - (show annotations) (download)
Sun Jan 8 23:34:19 2012 UTC (12 years, 3 months ago) by misc
File size: 669 byte(s)
clean icecream module
1 class icecream {
2 class scheduler {
3 package { "icecream-scheduler": }
4
5 service { "icecream-scheduler":
6 ensure => running,
7 hasstatus => true,
8 subscribe => [Package['icecream-scheduler']],
9 }
10 }
11
12 class client_common {
13 package { "icecream": }
14
15 service { "icecream":
16 ensure => running,
17 hasstatus => true,
18 subscribe => [Package['icecream']],
19 }
20 }
21
22 define client($host => '') {
23 include icecream::client_common
24 file { "/etc/sysconfig/icecream":
25 content => template("icecream/sysconfig"),
26 }
27 }
28 }

  ViewVC Help
Powered by ViewVC 1.1.30