Filip Pytloun | e21bc77 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | ====================== |
| 2 | Memcached cache server |
| 3 | ====================== |
| 4 | |
| 5 | Install and configure Memcached server |
| 6 | |
| 7 | Available states |
| 8 | ================ |
| 9 | |
| 10 | .. contents:: |
| 11 | :local: |
| 12 | |
| 13 | ``memcached.server`` |
| 14 | -------------------- |
| 15 | |
| 16 | Setup Memcached server |
| 17 | |
| 18 | Available metadata |
| 19 | ================== |
| 20 | |
| 21 | .. contents:: |
| 22 | :local: |
| 23 | |
| 24 | ``metadata.memcached.server.single`` |
| 25 | ------------------------------------ |
| 26 | |
| 27 | Single memcached server |
| 28 | |
| 29 | ``metadata.memcached.server.local`` |
| 30 | ----------------------------------- |
| 31 | |
| 32 | Memcached server listening on localhost only |
| 33 | |
| 34 | Configuration parameters |
| 35 | ======================== |
| 36 | |
| 37 | |
| 38 | Example reclass |
| 39 | =============== |
| 40 | |
| 41 | Single node memcached service, default parameters but modified cache size. |
| 42 | |
| 43 | .. code-block:: yaml |
| 44 | |
| 45 | classes: |
| 46 | - service.memcached.server.single |
| 47 | |
| 48 | parameters: |
| 49 | memcached: |
| 50 | server: |
| 51 | cache_size: 64 |
| 52 | |
| 53 | Sample pillar |
| 54 | ============= |
| 55 | |
| 56 | .. code-block:: yaml |
| 57 | |
| 58 | memcached: |
| 59 | server: |
| 60 | enabled: true |
| 61 | cache_size: 64 |
| 62 | bind: |
| 63 | address: 0.0.0.0 |
| 64 | port: 11211 |
| 65 | protocol: tcp |
| 66 | |
| 67 | Read more |
| 68 | ========= |
| 69 | |
| 70 | * http://memcached.org/ |
Filip Pytloun | 52999ac | 2017-02-02 13:02:03 +0100 | [diff] [blame^] | 71 | |
| 72 | Documentation and Bugs |
| 73 | ====================== |
| 74 | |
| 75 | To learn how to install and update salt-formulas, consult the documentation |
| 76 | available online at: |
| 77 | |
| 78 | http://salt-formulas.readthedocs.io/ |
| 79 | |
| 80 | In the unfortunate event that bugs are discovered, they should be reported to |
| 81 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 82 | formula: |
| 83 | |
| 84 | https://github.com/salt-formulas/salt-formula-memcached/issues |
| 85 | |
| 86 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 87 | use Launchpad salt-formulas project: |
| 88 | |
| 89 | https://launchpad.net/salt-formulas |
| 90 | |
| 91 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 92 | |
| 93 | https://launchpad.net/~salt-formulas-users |
| 94 | |
| 95 | Developers wishing to work on the salt-formulas projects should always base |
| 96 | their work on master branch and submit pull request against specific formula. |
| 97 | |
| 98 | https://github.com/salt-formulas/salt-formula-memcached |
| 99 | |
| 100 | Any questions or feedback is always welcome so feel free to join our IRC |
| 101 | channel: |
| 102 | |
| 103 | #salt-formulas @ irc.freenode.net |