blob: 437ef8c3081cd989da5e121d4f86916123dba40c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
class icecream {
class scheduler {
package { "icecream-scheduler":
ensure => installed,
}
service { "icecream-scheduler":
ensure => running,
hasstatus => true,
subscribe => [Package['icecream-scheduler']],
}
}
class client_common {
package { "icecream":
ensure => installed,
}
service { "icecream":
ensure => running,
hasstatus => true,
subscribe => [Package['icecream']],
}
}
define client($host => '') {
include icecream::client_common
file { "/etc/sysconfig/icecream":
ensure => present,
owner => root,
group => root,
mode => 640,
content => template("icecream/sysconfig"),
}
}
}
|