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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1142 - (show annotations) (download)
Sun Feb 20 12:11:36 2011 UTC (13 years ago) by misc
File size: 492 byte(s)
- add memcached module ( used by django application among others )
1 class memcached {
2 package { "memcached":
3
4 }
5
6 service { "memcached":
7 ensure => running,
8 path => "/etc/init.d/memcached",
9 subscribe => [ Package["memcached"] ]
10 }
11
12 file { "/etc/sysconfig/memcached":
13 ensure => present,
14 owner => root,
15 group => root,
16 mode => 644,
17 require => Package["memcached"],
18 content => template("memcached/memcached.sysconfig"),
19 notify => Service["memcached"]
20 }
21
22 }

  ViewVC Help
Powered by ViewVC 1.1.30