remove authorized_keys file if purge is enable and list of keys is empty
diff --git a/openssh/server/public_key.sls b/openssh/server/public_key.sls
index 71fcbf3..97dc127 100644
--- a/openssh/server/public_key.sls
+++ b/openssh/server/public_key.sls
@@ -39,8 +39,17 @@
 
 {%- endif %}
 
+{%- else %}
+
+{%- if user.get('purge', False) %}
+{{ user.user.name }}_auth_keys:
+  file.absent:
+  - name: {{ user.user.home }}/.ssh/authorized_keys
+{%- endif %}
+
 {%- endif %}
 
 {%- endfor %}
 
 {%- endif %}
+