Change-Id: I2163dbdee38e1b9c5c4dec6611550f16fdf1373bpull/114/head
@@ -1,6 +1,9 @@ | |||
{%- from "linux/map.jinja" import system with context %} | |||
{%- if system.enabled %} | |||
include: | |||
- linux.system.group | |||
{%- for name, user in system.user.iteritems() %} | |||
{%- if user.enabled %} | |||
@@ -12,7 +15,6 @@ | |||
{%- endif %} | |||
{%- endfor %} | |||
system_user_{{ name }}: | |||
user.present: | |||
- name: {{ name }} |
@@ -35,9 +35,9 @@ linux: | |||
enabled: true | |||
home: /root | |||
name: root | |||
test: | |||
testuser: | |||
enabled: true | |||
name: test | |||
name: testuser | |||
sudo: true | |||
uid: 9999 | |||
full_name: Test User | |||
@@ -62,9 +62,9 @@ linux: | |||
groups: | |||
- sudogroup1 | |||
group: | |||
test: | |||
testgroup: | |||
enabled: true | |||
name: test | |||
name: testgroup | |||
gid: 9999 | |||
system: true | |||
db-ops: | |||
@@ -85,7 +85,7 @@ linux: | |||
test: | |||
enabled: true | |||
command: "/bin/sleep 3" | |||
user: test | |||
user: testuser | |||
minute: 0 | |||
hour: 13 | |||
package: |