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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1142 - (hide annotations) (download)
Sun Feb 20 12:11:36 2011 UTC (13 years, 1 month ago) by misc
File size: 492 byte(s)
- add memcached module ( used by django application among others )
1 misc 1142 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