Skip to content

Commit

Permalink
Modified user.sls to create group before user
Browse files Browse the repository at this point in the history
  • Loading branch information
Manasa-Sriram-ML committed Aug 15, 2018
1 parent 769d9bd commit 5403034
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions salt/pnda/user.sls
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ permissive:
- show_changes: True
{% endif %}

pnda-create_pnda_group:
group.present:
- name: {{ pnda_group }}

pnda-create_pnda_user:
user.present:
- name: {{ pnda_user }}
- password: {{ pnda_password }}
- home: {{ pnda_home_directory }}
- createhome: True

pnda-create_pnda_group:
group.present:
- name: {{ pnda_group }}
- addusers:
- {{ pnda_user }}
- groups:
- {{ pnda_group }}

pnda-set_home_dir_perms:
file.directory:
Expand Down

0 comments on commit 5403034

Please sign in to comment.