Merge pull request #27 from sposs/patch-1
Bug fix on platforms not MacOS
This commit is contained in:
commit
09f1a26b52
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user