fix for sudoers users with dot
diff --git a/linux/system/user.sls b/linux/system/user.sls
index 9b5fd9e..4232e65 100644
--- a/linux/system/user.sls
+++ b/linux/system/user.sls
@@ -37,7 +37,7 @@
{%- if user.get('sudo', False) %}
-/etc/sudoers.d/90-salt-user-{{ name }}:
+/etc/sudoers.d/90-salt-user-{{ name|replace('.', '-') }}:
file.managed:
- source: salt://linux/files/sudoer
- template: jinja
@@ -61,7 +61,7 @@
file.absent:
- name: {{ user.home }}
-/etc/sudoers.d/90-salt-user-{{ name }}:
+/etc/sudoers.d/90-salt-user-{{ name|replace('.', '-') }}:
file.absent
{%- endif %}