This module manages Twemproxy package installation from source. It takes into consideration the needed packages depending on the Distro yso you can compile it.
twemproxy::resource::nutcracker {
'pool1':
ensure => present,
members => [
{
ip => '127.0.0.1',
name => 'server1',
redis_port => '22121',
weight => '1',
},
{
ip => '127.0.0.1',
name => 'server2',
redis_port => '6662',
weight => '1',
}
],
port => 22121,
statsport => 22122
}
twemproxy::resource::monit {
'twemprodweb':
country => es,
port => '22114',
statsport => '21214';
}
puppet-monit: Ensure monit is installed and configured
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request