From 256eeb24e08c2c4a5a184b994eb3190a2f30f1a6 Mon Sep 17 00:00:00 2001 From: Stephane Poss Date: Mon, 10 Aug 2020 12:28:11 +0200 Subject: [PATCH] Bug fix on platforms not MacOS with 'set' the next statement must be setting, not equality check. --- memcached/map.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memcached/map.jinja b/memcached/map.jinja index c7afc78..417d84c 100644 --- a/memcached/map.jinja +++ b/memcached/map.jinja @@ -1,7 +1,7 @@ {%- if grains.os == 'MacOS' %} {%- set rootuser = salt['cmd.run']("stat -f '%Su' /dev/console") %} {%- else %} - {%- set rootuser == 'root' %} + {%- set rootuser = 'root' %} {%- endif %} {% set defaults = {