Merge "Add missing host_prep_tasks for memcached" into stable/pike

This commit is contained in:
Zuul
2017-11-17 04:23:58 +00:00
committed by Gerrit Code Review

View File

@@ -103,6 +103,11 @@ outputs:
# module, but we'll only be able to do this once the following pull
# request merges: https://github.com/saz/puppet-memcached/pull/88
command: ['/bin/bash', '-c', 'source /etc/sysconfig/memcached; /usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS >> /var/log/memcached.log 2>&1']
host_prep_tasks:
- name: create persistent logs directory
file:
path: /var/log/containers/memcached
state: directory
upgrade_tasks:
- name: Stop and disable memcached service
tags: step2