Set size of each slab page via pillar (#19)

* make slab size changeable via pillar

* make slab size changeable via pillar for RedHat, too
diff --git a/README.rst b/README.rst
index 39808c3..9cdac65 100644
--- a/README.rst
+++ b/README.rst
@@ -17,6 +17,7 @@
       server:
         enabled: true
         cache_size: 64
+        slabsize: 1m
         bind:
           address: 0.0.0.0
           port: 11211
diff --git a/memcached/files/memcached b/memcached/files/memcached
index ca292db..bf22eb1 100644
--- a/memcached/files/memcached
+++ b/memcached/files/memcached
@@ -3,4 +3,4 @@
 USER="memcached"
 MAXCONN="{{ server.maxconn }}"
 CACHESIZE="{{ server.cache_size }}"
-OPTIONS="-l {{ server.bind.address }}"
+OPTIONS="-l {{ server.bind.address }} -I {{ server.slabsize }}"
diff --git a/memcached/files/memcached.conf b/memcached/files/memcached.conf
index 89dc35a..01ac54a 100644
--- a/memcached/files/memcached.conf
+++ b/memcached/files/memcached.conf
@@ -48,4 +48,7 @@
 # -r
 
 # Number of threads to use to process incoming requests.
--t {{ server.threads }}
\ No newline at end of file
+-t {{ server.threads }}
+
+# Set size of each slab page. Default value for this parameter is 1m, minimum is 1k, max is 128m.
+-I {{ server.slabsize }}
diff --git a/memcached/map.jinja b/memcached/map.jinja
index 984011f..463d420 100644
--- a/memcached/map.jinja
+++ b/memcached/map.jinja
@@ -8,6 +8,7 @@
         'cache_size': 64,
         'incomming_connections': 8192,
         'threads': 1,
+        'slabsize': '1m',
     },
     'RedHat': {
         'pkgs': ['memcached'],
@@ -17,5 +18,6 @@
         'cache_size': 64,
         'incomming_connections': 8192,
         'threads': 1,
+        'slabsize': '1m',
     },
 }, merge=salt['pillar.get']('memcached:server')) %}
diff --git a/tests/pillar/memcached_server.sls b/tests/pillar/memcached_server.sls
index 2c6cf3f..5a85c6c 100644
--- a/tests/pillar/memcached_server.sls
+++ b/tests/pillar/memcached_server.sls
@@ -2,6 +2,7 @@
   server:
     enabled: true
     cache_size: 64
+    slabsize: 2m
     bind:
       address: 0.0.0.0
       port: 11211