blob: 8e8faceb0bb985d83c4ad0cbb5b7632afe0a63cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class memcached {
package { "memcached":
}
service { "memcached":
ensure => running,
path => "/etc/init.d/memcached",
subscribe => [ Package["memcached"] ]
}
file { "/etc/sysconfig/memcached":
ensure => present,
owner => root,
group => root,
mode => 644,
require => Package["memcached"],
content => template("memcached/memcached.sysconfig"),
notify => Service["memcached"]
}
}
|