Commit Graph

9 Commits

Author SHA1 Message Date
Jonathan Rosser 5838d27dab Use netcat-openbsd on debian bookworm
The 'netcat' package is no longer installable directly.

    Package netcat is a virtual package provided by:
      netcat-openbsd 1.219-1
      netcat-traditional 1.10-47
    You should explicitly select one to install.
    E: Package 'netcat' has no installation candidate

Change-Id: I4d2cd14abfb0f9c7d02438684af010965d940a4b
2023-09-12 10:38:17 +01:00
Erik Berg a0f9fc677f Remove templates to unsupported operating systems
All templates for Gentoo, SUSE are removed. An old pre-systemd
template for debian/ubuntu is removed. And memcached.conf template
for redhat is renamed for consistency.

Change-Id: I1ac948e0244a5eb1036049bba970cfaf8cba3f8e
2021-03-22 10:07:01 +01:00
Jonathan Rosser 2766425472 Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: Ibde83024d1c3a7fc2a91ebaa14f33ad1976a7b22
2021-03-17 09:06:32 +00:00
Matthew Thode b6bf3784e4
add gentoo support to memcached role
Change-Id: I987abf6fc161f09312fbef984552313989ef3c31
2019-01-24 19:11:12 -06:00
Jonathan Rosser 261db5b883 Change netcat to be a required package
Netcat is not a direct dependancy of memcached nor the playbooks in
this role, however other OSA roles delegate tasks to the memcached
container and run shell commands which use nc.

This patch ensures that netcat is explicity installed into the
memcached container and we do not rely on it being present in the
container base image.

Given that the memcached_test_distro_packages variable is no longer
used, the associated bits for it are also removed.

Change-Id: Id046aa97ed90654f1859e584891fe5228f96aa90
2018-10-25 10:18:57 +01:00
Jesse Pretorius d90f57aca9 Optimise the distro package installation
In order to optimise the distro package installation
process the list of packages to install is prepared
for the host, then installed by passing the package
task the full list instead of using a loop.

The package lists in defaults are removed as it is
undesirable to make it easy to override these lists.
This is not provided for in any other roles.

Change-Id: I71307d2a808fdc0f76e376a84651dad86b3f8b69
2017-06-08 17:00:26 +01:00
Markos Chandras 58e17aa13e Add SUSE support
Add support for SUSE based distributions

Change-Id: Ib57cceeb9af4d1d0232a20622ad6efdba4cc346d
2017-04-04 16:22:08 +01:00
Jesse Pretorius 736969d00c Rename package lists (and related vars) appropriately
In order to make it easier to differentiate between the lists of
python packages, distribution packages, downloaded packages,
package pins and other similar variables the variable names are
being changed to ensure that they have a more explicit suffix
that defines the purpose and makes the naming more consistent.

This is to facilitate a lookup plugin which will be able to look
up all the package lists and present them as a consolidated piece
of data which may be used for artifact preparation.

Change-Id: Ib3d6dea38bf4d570e6b9501f9cb89632639d586e
2016-08-30 16:21:01 +01:00
Matt Thompson f0185d9d88 Updated role using the Multi-Distro framework
This commit updates the memcached_server role to work on Trusty,
Xenial, and CentOS 7.

NOTES:

1. This role no longer creates the memcache user since both Ubuntu and
   CentOS already install a suitable user
2. We have temporarily disabled testing of the log file since CentOS and
   Xenial do not log to file
3. On Ubuntu we drop ulimits into /etc/defaults/memcached, we need to
   figure out how to do the equivalent on CentOS
4. We update tasks/memcached_config.yml to use the correct memcached
   user in limits.conf, however neither these limits or the ones in
   templates/memcached.debian.j2 actually seem to be taking effect.
   More work in an additional review will need to be done to clean this
   all up.

Implements: blueprint multi-platform-host

Change-Id: I4c32f3d60939615c5d0c6fb202e96aacb35ab9b4
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-26 16:52:54 +01:00