Linux formula should be able to create non-unique users.
Change-Id: I3338950ed3726a750149d849d33813b0eeed50c0
diff --git a/README.rst b/README.rst
index f35bce7..cd9d5c2 100644
--- a/README.rst
+++ b/README.rst
@@ -50,6 +50,7 @@
home: '/home/jdoe'
home_dir_mode: 755
email: 'jonh@doe.com'
+ unique: false
jsmith:
name: 'jsmith'
enabled: true
diff --git a/linux/system/user.sls b/linux/system/user.sls
index 89d2cbb..c63f91b 100644
--- a/linux/system/user.sls
+++ b/linux/system/user.sls
@@ -50,6 +50,9 @@
{%- if user.uid is defined and user.uid %}
- uid: {{ user.uid }}
{%- endif %}
+ {%- if user.unique is defined %}
+ - unique: {{ user.unique }}
+ {%- endif %}
{%- if user.maxdays is defined %}
- maxdays: {{ user.maxdays }}
{%- endif %}
diff --git a/tests/pillar/system.sls b/tests/pillar/system.sls
index 43fc65c..de1da29 100644
--- a/tests/pillar/system.sls
+++ b/tests/pillar/system.sls
@@ -137,6 +137,7 @@
uid: 9999
full_name: Test User
home: /home/test
+ unique: false
groups:
- db-ops
- salt-ops